Pagini recente » Borderou de evaluare (job #504464) | Borderou de evaluare (job #726069) | Borderou de evaluare (job #1948131) | Borderou de evaluare (job #2032522) | Borderou de evaluare (job #1094543)
Borderou de evaluare (job #1094543)
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 |
1 | 12ms | 4063kb | OK! | 8 |
2 | 16ms | 4456kb | OK! | 10 |
3 | 40ms | 6553kb | OK! | 10 |
4 | 86ms | 9568kb | OK! | 10 |
5 | 248ms | 21495kb | OK! | 10 |
6 | 253ms | 22413kb | OK! | 10 |
7 | 265ms | 23592kb | OK! | 10 |
8 | 319ms | 25821kb | OK! | 10 |
9 | 299ms | 25690kb | OK! | 10 |
10 | 316ms | 25165kb | OK! | 10 |
11 | 10ms | 3801kb | OK! | 1 |
12 | 10ms | 3801kb | OK! | 1 |
Punctaj total | 100 |