0_0_20989504_14018.cpp:47:29: error: stray '#' in program
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:47:34: error: stray '#' in program
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:47:54: error: stray '#' in program
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:51:23: error: stray '#' in program
for(int i=0;i<len;i++)
^
0_0_20989504_14018.cpp:51:28: error: stray '#' in program
for(int i=0;i<len;i++)
^
0_0_20989504_14018.cpp:53:17: error: stray '#' in program
a[s1[i]-'0']++;
^
0_0_20989504_14018.cpp:53:22: error: stray '#' in program
a[s1[i]-'0']++;
^
0_0_20989504_14018.cpp:54:17: error: stray '#' in program
b[s2[i]-'0']++;
^
0_0_20989504_14018.cpp:54:22: error: stray '#' in program
b[s2[i]-'0']++;
^
0_0_20989504_14018.cpp:62:24: error: stray '#' in program
for(int j=1;j<=9;j++)
^
0_0_20989504_14018.cpp:62:29: error: stray '#' in program
for(int j=1;j<=9;j++)
^
0_0_20989504_14018.cpp:66:14: error: stray '#' in program
if(((i+j)%10)>maxn)
^
0_0_20989504_14018.cpp:68:16: error: stray '#' in program
maxn=(i+j)%10;
^
0_0_20989504_14018.cpp:78:28: error: stray '#' in program
printf("Case #%d: 0\n",++Case);
^
0_0_20989504_14018.cpp:78:33: error: stray '#' in program
printf("Case #%d: 0\n",++Case);
^
0_0_20989504_14018.cpp:83:16: error: stray '#' in program
temp[0]=maxn+'0';
^
0_0_20989504_14018.cpp:85:23: error: stray '#' in program
for(int k=1;k<len;k++)//剩下的直接用贪心来处理好了
^
0_0_20989504_14018.cpp:85:28: error: stray '#' in program
for(int k=1;k<len;k++)//剩下的直接用贪心来处理好了
^
0_0_20989504_14018.cpp:92:25: error: stray '#' in program
for(int j=0;j<=9;j++)
^
0_0_20989504_14018.cpp:92:30: error: stray '#' in program
for(int j=0;j<=9;j++)
^
0_0_20989504_14018.cpp:96:20: error: stray '#' in program
if(maxn<((i+j)%10))
^
0_0_20989504_14018.cpp:98:17: error: stray '#' in program
maxn=(i+j)%10;
^
0_0_20989504_14018.cpp:106:17: error: stray '#' in program
temp[k]=maxn+'0';
^
0_0_20989504_14018.cpp:110:26: error: stray '#' in program
printf("Case #%d: %s",++Case,temp);//输出还得用字符串不然超时,我自己坑自己了,
^
0_0_20989504_14018.cpp:110:31: error: stray '#' in program
printf("Case #%d: %s",++Case,temp);//输出还得用字符串不然超时,我自己坑自己了,
^
0_0_20989504_14018.cpp: In function 'int main()':
0_0_20989504_14018.cpp:47:30: error: lvalue required as unary '&' operand
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:47:35: error: lvalue required as unary '&' operand
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:47:57: error: expected ')' before ';' token
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:47:67: error: expected ';' before ')' token
printf("Case #%d: %d\n",++Case,(s1[0]-'0'+s2[0]-'0')%10);
^
0_0_20989504_14018.cpp:51:26: error: expected ')' before ';' token
for(int i=0;i<len;i++)
^
0_0_20989504_14018.cpp:51:29: error: lvalue required as unary '&' operand
for(int i=0;i<len;i++)
^
0_0_20989504_14018.cpp:51:32: error: expected primary-expression before ')' token
for(int i=0;i<len;i++)
^
0_0_20989504_14018.cpp:62:27: error: expected ')' before ';' token
for(int j=1;j<=9;j++)
^
0_0_20989504_14018.cpp:62:30: error: lvalue required as unary '&' operand
for(int j=1;j<=9;j++)
^
0_0_20989504_14018.cpp:62:33: error: expected primary-expression before ')' token
for(int j=1;j<=9;j++)
^
0_0_20989504_14018.cpp:78:29: error: lvalue required as unary '&' operand
printf("Case #%d: 0\n",++Case);
^
0_0_20989504_14018.cpp:78:34: error: lvalue required as unary '&' operand
printf("Case #%d: 0\n",++Case);
^
0_0_20989504_14018.cpp:78:41: error: expected ';' before ')' token
printf("Case #%d: 0\n",++Case);
^
0_0_20989504_14018.cpp:85:26: error: expected ')' before ';' token
for(int k=1;k<len;k++)//剩下的直接用贪心来处理好了
^
0_0_20989504_14018.cpp:85:29: error: lvalue required as unary '&' operand
for(int k=1;k<len;k++)//剩下的直接用贪心来处理好了
^
0_0_20989504_14018.cpp:85:32: error: expected primary-expression before ')' token
for(int k=1;k<len;k++)//剩下的直接用贪心来处理好了
^
0_0_20989504_14018.cpp:110:27: error: lvalue required as unary '&' operand
printf("Case #%d: %s",++Case,temp);//输出还得用字符串不然超时,我自己坑自己了,
^
0_0_20989504_14018.cpp:110:32: error: lvalue required as unary '&' operand
printf("Case #%d: %s",++Case,temp);//输出还得用字符串不然超时,我自己坑自己了,
^
0_0_20989504_14018.cpp:110:44: error: expected ';' before ')' token
printf("Case #%d: %s",++Case,temp);//输出还得用字符串不然超时,我自己坑自己了,
^
|