0_0_36682048_23742\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_36682048_23742\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_36682048_23742\Main.java:2: 错误: 非法字符: '#'
#include<string>
^
0_0_36682048_23742\Main.java:4: 错误: 需要class, interface或enum
int main(void)
^
0_0_36682048_23742\Main.java:7: 错误: 需要class, interface或enum
int n, i, j;
^
0_0_36682048_23742\Main.java:8: 错误: 需要class, interface或enum
cin>>n;
^
0_0_36682048_23742\Main.java:9: 错误: 需要class, interface或enum
string str1, str2, tstr1, tstr2;
^
0_0_36682048_23742\Main.java:10: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_36682048_23742\Main.java:10: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_36682048_23742\Main.java:10: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_36682048_23742\Main.java:13: 错误: 需要class, interface或enum
cin>>str1>>str2;
^
0_0_36682048_23742\Main.java:14: 错误: 需要class, interface或enum
tstr1 = str1;
^
0_0_36682048_23742\Main.java:15: 错误: 需要class, interface或enum
tstr2 = str2;
^
0_0_36682048_23742\Main.java:16: 错误: 需要class, interface或enum
int len1 = str1.length();
^
0_0_36682048_23742\Main.java:17: 错误: 需要class, interface或enum
int len2 = str2.length();
^
0_0_36682048_23742\Main.java:18: 错误: 需要class, interface或enum
if(len1 > len2)
^
0_0_36682048_23742\Main.java:20: 错误: 需要class, interface或enum
for(j = 0; j < len1 - len2; j++)
^
0_0_36682048_23742\Main.java:20: 错误: 需要class, interface或enum
for(j = 0; j < len1 - len2; j++)
^
0_0_36682048_23742\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_36682048_23742\Main.java:27: 错误: 需要class, interface或enum
for(j = 0; j < len2 - len1; j++)
^
0_0_36682048_23742\Main.java:27: 错误: 需要class, interface或enum
for(j = 0; j < len2 - len1; j++)
^
0_0_36682048_23742\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_36682048_23742\Main.java:33: 错误: 需要class, interface或enum
if(i != n) cout<<endl;
^
0_0_36682048_23742\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_36682048_23742\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_36682048_23742\Main.java:40: 错误: 需要class, interface或enum
string result = "";
^
0_0_36682048_23742\Main.java:41: 错误: 需要class, interface或enum
int i;
^
0_0_36682048_23742\Main.java:42: 错误: 需要class, interface或enum
for(i = str1.length() - 1; i >= 0; i--)
^
0_0_36682048_23742\Main.java:42: 错误: 需要class, interface或enum
for(i = str1.length() - 1; i >= 0; i--)
^
0_0_36682048_23742\Main.java:42: 错误: 需要class, interface或enum
for(i = str1.length() - 1; i >= 0; i--)
^
0_0_36682048_23742\Main.java:45: 错误: 需要class, interface或enum
int b = str2[i] - '0';
^
0_0_36682048_23742\Main.java:46: 错误: 需要class, interface或enum
int sum = 0;
^
0_0_36682048_23742\Main.java:47: 错误: 需要class, interface或enum
if(flag) sum = 1;
^
0_0_36682048_23742\Main.java:48: 错误: 需要class, interface或enum
sum += (a + b);
^
0_0_36682048_23742\Main.java:49: 错误: 需要class, interface或enum
if(sum / 10 > 0) flag = true;
^
0_0_36682048_23742\Main.java:50: 错误: 需要class, interface或enum
else flag = false;
^
0_0_36682048_23742\Main.java:51: 错误: 需要class, interface或enum
result = char(sum % 10 + 48) + result;
^
0_0_36682048_23742\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_36682048_23742\Main.java:55: 错误: 需要class, interface或enum
return result;
^
0_0_36682048_23742\Main.java:56: 错误: 需要class, interface或enum
}
^
40 个错误
|