摘要:
结构体是一种新的数据类型1 struct student{2 int ID;3 char name;4 }; //声明一个结构体,student只是结构体的一个标签,在一个程序中可能有多个结构体5 struct student stu1 //用结构体来声明一个变量6 typedef struct s... 阅读全文
摘要:
#include #include struct N{ int c; int e;}buf[1010],ans[1010];int main(){ freopen("data.in","r",stdin); freopen("d1.out","w",stdout); int x,y... 阅读全文