Borderou de evaluare (job #1094534)

Utilizator andrettiAndretti Naiden andretti Data 29 ianuarie 2014 15:34:06
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int, int)': main.cpp:67:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(v[k]) c[0][k]++; f[0][k]=father; ^~ main.cpp:67:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(v[k]) c[0][k]++; f[0][k]=father; ^ main.cpp:74:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(unsigned int i=0;i<l[k].size();i++) ^~~ main.cpp:80:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' u--; ^ main.cpp: In function 'void solve()': main.cpp:132:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(v[lca]) sol--; printf("%d\n",sol); ^~ main.cpp:132:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(v[lca]) sol--; printf("%d\n",sol); ^~~~~~ main.cpp: In function 'void read()': main.cpp:23:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&n,&m,&q); ^ main.cpp:24:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=n;i++) scanf("%s\n",a[i]+1); ^ main.cpp: In function 'void solve()': main.cpp:128:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&x1,&y1,&x2,&y2); ^ main.cpp: In function 'int main()': main.cpp:138:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in","r",stdin); ^ main.cpp:139:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms3670kbOK!8
215ms4063kbOK!10
339ms5996kbRaspuns gresit!0
485ms8830kbRaspuns gresit!0
5253ms20156kbRaspuns gresit!0
6258ms21102kbRaspuns gresit!0
7268ms22151kbRaspuns gresit!0
8316ms24248kbRaspuns gresit!0
9293ms24117kbRaspuns gresit!0
10315ms23592kbRaspuns gresit!0
119ms3276kbOK!1
129ms3276kbOK!1
Punctaj total20

Ceva nu functioneaza?