Pagini recente » Borderou de evaluare (job #1968572) | Borderou de evaluare (job #493896) | Borderou de evaluare (job #2077450) | Borderou de evaluare (job #517623) | Borderou de evaluare (job #2601906)
Borderou de evaluare (job #2601906)
Raport evaluator
Compilare:
main.cpp: In function 'int bfs()':
main.cpp:36:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:102:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[100].size();i++)
~^~~~~~~~~~~~~~
main.cpp:101:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(bfs()==1)
^~~~~
main.cpp:112:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
memset(viz,0,sizeof(viz));
^~~~~~
main.cpp: In function 'int bfs()':
main.cpp:28:16: warning: iteration 105 invokes undefined behavior [-Waggressive-loop-optimizations]
tata[i]=-1;
~~~~~~~^~~
main.cpp:26:18: note: within this loop
for(int i=0;i<=105;i++)
~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 393kb | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 7ms | 393kb | OK | 10 |
4 | 4ms | 262kb | OK | 10 |
5 | 5ms | 262kb | OK | 10 |
6 | 4ms | 262kb | OK | 10 |
7 | 4ms | 262kb | OK | 10 |
8 | 5ms | 393kb | OK | 10 |
9 | 3ms | 262kb | OK | 10 |
10 | 2ms | 262kb | OK | 10 |
Punctaj total | 100 |