Borderou de evaluare (job #681575)

Utilizator avatar dorupop Pop Doru dorupop IP ascuns
Problemă Coborâre (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 dec. 2022 23:57:24 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:13:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 13 | if(nod==c) | ^~ main.cpp:15:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 15 | viz[nod]=1; | ^~~ main.cpp:16:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 16 | for(int i=0;i<g[nod].size();i++) | ~^~~~~~~~~~~~~~ main.cpp:18:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 18 | if(viz[nou]==0) | ^~ main.cpp:20:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 20 | d[nod]=d[nod]+d[nou]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 1429 kb OK 10
2 1 ms 1425 kb OK 10
3 14 ms 1556 kb OK 10
4 33 ms 1687 kb OK 10
5 66 ms 2076 kb OK 10
6 109 ms 2609 kb OK 10
7 234 ms 3522 kb OK 10
8 309 ms 4173 kb OK 10
9 325 ms 4308 kb OK 10
10 369 ms 4698 kb OK 10
Punctaj total 100