0_0_38586552_6826\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38586552_6826\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_38586552_6826\Main.java:2: 错误: 非法字符: '#'
#include <string>
^
0_0_38586552_6826\Main.java:5: 错误: 需要class, interface或enum
int main() {
^
0_0_38586552_6826\Main.java:7: 错误: 需要class, interface或enum
while (cin >> str1 >> str2) {
^
0_0_38586552_6826\Main.java:10: 错误: 需要class, interface或enum
}
^
0_0_38586552_6826\Main.java:12: 错误: 需要class, interface或enum
int len1 = str1.length();
^
0_0_38586552_6826\Main.java:13: 错误: 需要class, interface或enum
int len2 = str2.length();
^
0_0_38586552_6826\Main.java:14: 错误: 需要class, interface或enum
if (len2 > len1) {
^
0_0_38586552_6826\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_38586552_6826\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0; i < len1; i++) {
^
0_0_38586552_6826\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0; i < len1; i++) {
^
0_0_38586552_6826\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0; i < len1; i++) {
^
0_0_38586552_6826\Main.java:21: 错误: 需要class, interface或enum
if (k == len2) {
^
0_0_38586552_6826\Main.java:23: 错误: 需要class, interface或enum
k = 0;
^
0_0_38586552_6826\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_38586552_6826\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_38586552_6826\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_38586552_6826\Main.java:33: 错误: 需要class, interface或enum
return 0;
^
0_0_38586552_6826\Main.java:34: 错误: 需要class, interface或enum
}
^
20 个错误
|