Pagini recente » Borderou de evaluare (job #778926) | Borderou de evaluare (job #1769765) | Borderou de evaluare (job #962246) | Borderou de evaluare (job #178429) | Borderou de evaluare (job #1094529)
Borderou de evaluare (job #1094529)
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 |
1 | 199ms | 7602kb | OK! | 8 |
2 | 453ms | 7864kb | Time limit exceeded | 0 |
3 | 453ms | 8781kb | Time limit exceeded | 0 |
4 | 453ms | 9961kb | Time limit exceeded | 0 |
5 | 453ms | 11272kb | Time limit exceeded | 0 |
6 | 451ms | 11796kb | Time limit exceeded | 0 |
7 | 452ms | 12058kb | Time limit exceeded | 0 |
8 | 450ms | 12320kb | Time limit exceeded | 0 |
9 | 452ms | 12320kb | Time limit exceeded | 0 |
10 | 451ms | 12320kb | Time limit exceeded | 0 |
11 | 19ms | 7340kb | OK! | 1 |
12 | 21ms | 7340kb | OK! | 1 |
Punctaj total | 10 |