记录详情

Compile Error

/in/foo.cc:14:19: error: stray '\342' in program
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                   ^
/in/foo.cc:14:20: error: stray '\200' in program
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                    ^
/in/foo.cc:14:21: error: stray '\230' in program
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                     ^
/in/foo.cc:14:23: error: stray '\342' in program
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                       ^
/in/foo.cc:14:24: error: stray '\200' in program
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                        ^
/in/foo.cc:14:25: error: stray '\230' in program
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:14:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                            ~^~~~~~~~~~~~
/in/foo.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
     ^~~
/in/foo.cc:14:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                                                   ^~~~~~
/in/foo.cc:14:68: error: expected '}' at end of input
     for(i=0;s[i]==‘0‘&&i<strlen(s)-1;i++);    printf("%s", s+i);
                                                                    ^

信息

递交者
类型
递交
题目
删数问题
题目数据
下载
语言
C++
递交时间
2017-12-03 16:44:30
评测时间
2017-12-03 16:44:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes