/ Vijos /

记录详情

Compile Error

/in/foo.cc:61:71: error: stray '\342' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                       ^
/in/foo.cc:61:72: error: stray '\200' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                        ^
/in/foo.cc:61:73: error: stray '\230' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                         ^
/in/foo.cc:61:74: error: stray '\' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                          ^
/in/foo.cc:61:76: error: stray '\342' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                            ^
/in/foo.cc:61:77: error: stray '\200' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                             ^
/in/foo.cc:61:78: error: stray '\230' in program
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                                              ^
/in/foo.cc: In function 'void tarjan(int)':
/in/foo.cc:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<grap[v].size();i++){
                 ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int j=0;j<grap[i].size();j++){
                         ~^~~~~~~~~~~~~~~
/in/foo.cc:61:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
         ^~~
/in/foo.cc:61:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(int i=1;i<=n;i++) if(!out[id[i]]) printf("%d ",i);putchar(‘\n‘);
                                                               ^~~~~~~

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C++
递交时间
2017-05-25 10:58:49
评测时间
2017-05-25 10:58:49
评测机
分数
0
总耗时
163ms
峰值内存
20.418 MiB