Borderou de evaluare (job #1094529)

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

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int, int)': main.cpp:68:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(v[k]) c[0][k]++; f[0][k]=father; ^~ main.cpp:68: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:75:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(unsigned int i=0;i<l[k].size();i++) ^~~ main.cpp:81: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:133:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(v[lca]) sol--; printf("%d\n",sol); ^~ main.cpp:133: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:129: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:139: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:140: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
1199ms7602kbOK!8
2453ms7864kbTime limit exceeded0
3453ms8781kbTime limit exceeded0
4453ms9961kbTime limit exceeded0
5453ms11272kbTime limit exceeded0
6451ms11796kbTime limit exceeded0
7452ms12058kbTime limit exceeded0
8450ms12320kbTime limit exceeded0
9452ms12320kbTime limit exceeded0
10451ms12320kbTime limit exceeded0
1119ms7340kbOK!1
1221ms7340kbOK!1
Punctaj total10

Ceva nu functioneaza?