摘要: 1 #include<cstdio> 2 #include<cstring> 3 const int N = 10; 4 int a[N][N]; 5 int main(){ 6 int n,x,y,tot; 7 memset(a,0,sizeof(a)); 8 scanf("%d",&n);//n 阅读全文
posted @ 2020-03-08 22:28 xuecl 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 using std::cout; 3 4 5 int func(char *s){ 6 if(s==NULL) return -1; 7 8 int num=0; 9 while(*s!='\0'){ 10 num = num*10 + *s - '0' 阅读全文
posted @ 2020-03-08 22:21 xuecl 阅读(170) 评论(0) 推荐(0) 编辑