0_0_31963191_18870.cpp:15:13: error: stray '\241' in program
scanf(“%d %d”, &a, &b);//模拟一个人说话
^
0_0_31963191_18870.cpp:15:13: error: stray '\260' in program
0_0_31963191_18870.cpp:15:13: error: stray '\241' in program
0_0_31963191_18870.cpp:15:13: error: stray '\261' in program
0_0_31963191_18870.cpp:27:9: error: stray '\241' in program
printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
^
0_0_31963191_18870.cpp:27:9: error: stray '\260' in program
0_0_31963191_18870.cpp:27:9: error: stray '\' in program
0_0_31963191_18870.cpp:27:9: error: stray '\241' in program
0_0_31963191_18870.cpp:27:9: error: stray '\261' in program
0_0_31963191_18870.cpp:3:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_31963191_18870.cpp: In function 'int main()':
0_0_31963191_18870.cpp:8:25: error: 'scanf' was not declared in this scope
while(scanf("%d", &n) != EOF)
^
0_0_31963191_18870.cpp:8:30: error: 'EOF' was not declared in this scope
while(scanf("%d", &n) != EOF)
^
0_0_31963191_18870.cpp:10:33: error: 'memset' was not declared in this scope
memset(dp, 0, sizeof(dp));//申请内存用0初始化数组
^
0_0_31963191_18870.cpp:13:2: error: 'nbsp' was not declared in this scope
^
0_0_31963191_18870.cpp:15:21: error: expected primary-expression before '%' token
scanf(“%d %d”, &a, &b);//模拟一个人说话
^
0_0_31963191_18870.cpp:15:22: error: 'd' was not declared in this scope
scanf(“%d %d”, &a, &b);//模拟一个人说话
^
0_0_31963191_18870.cpp:24:40: error: 'max' was not declared in this scope
an[i] = max(an[i], dp[j][i]);
^
0_0_31963191_18870.cpp:27:18: error: expected primary-expression before '%' token
printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
^
0_0_31963191_18870.cpp:27:19: error: 'd' was not declared in this scope
printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
^
0_0_31963191_18870.cpp:27:31: error: 'printf' was not declared in this scope
printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
^
|