Pagini recente » Borderou de evaluare (job #340185) | Borderou de evaluare (job #1519638) | Borderou de evaluare (job #2674591) | Borderou de evaluare (job #2499663) | Borderou de evaluare (job #2273131)
Borderou de evaluare (job #2273131)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:22:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vecini[x].size();++i) if(seen[node]==0) dfs(node,val+1);
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void bwdfs(int, int)':
main.cpp:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vecini[x].size();++i)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void Dfs(int)':
main.cpp:48:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vecini[x].size();++i)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:109:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;++i) seen[i]=0; seen[root]=1; last=root;
^~~
main.cpp:109:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;++i) seen[i]=0; seen[root]=1; last=root;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | Incorect | 0 |
2 | 3ms | 393kb | Incorect | 0 |
3 | 3ms | 393kb | Incorect | 0 |
4 | 3ms | 393kb | Incorect | 0 |
5 | 3ms | 393kb | Incorect | 0 |
6 | 3ms | 393kb | Incorect | 0 |
7 | 3ms | 393kb | Incorect | 0 |
8 | 5ms | 393kb | Incorect | 0 |
9 | 5ms | 393kb | Incorect | 0 |
10 | 5ms | 393kb | Incorect | 0 |
11 | 11ms | 524kb | Incorect | 0 |
12 | 12ms | 524kb | Incorect | 0 |
13 | 21ms | 524kb | Incorect | 0 |
14 | 21ms | 524kb | Incorect | 0 |
15 | 20ms | 655kb | Incorect | 0 |
16 | 21ms | 524kb | Incorect | 0 |
17 | 34ms | 524kb | Incorect | 0 |
18 | 52ms | 655kb | Incorect | 0 |
19 | 101ms | 655kb | Time limit exceeded | 0 |
20 | 102ms | 786kb | Time limit exceeded | 0 |
Punctaj total | 0 |