Pagini recente » Borderou de evaluare (job #2535833) | Borderou de evaluare (job #299315) | Borderou de evaluare (job #2843419) | Borderou de evaluare (job #2005238) | Borderou de evaluare (job #2604859)
Borderou de evaluare (job #2604859)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<edge[node].size(); i++){
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:27:18: warning: unused variable 'j' [-Wunused-variable]
int V, Q, i, j, src, dest, root;
^
main.cpp:119:50: warning: 'ans2' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << max << ' ' << ans1 << ' ' << ans2 << '\n';
^~~~
main.cpp:119:35: warning: 'ans1' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << max << ' ' << ans1 << ' ' << ans2 << '\n';
^~~
main.cpp:45:15: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
DFS (root);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 917kb | OK | 10 |
2 | 4ms | 917kb | Incorect | 0 |
3 | 4ms | 1048kb | OK | 10 |
4 | 10ms | 1703kb | OK | 10 |
5 | 11ms | 1703kb | Incorect | 0 |
6 | 29ms | 3538kb | Incorect | 0 |
7 | 512ms | 10747kb | OK | 10 |
8 | 47ms | 6160kb | Incorect | 0 |
9 | 315ms | 8916kb | OK | 10 |
10 | 469ms | 9175kb | OK | 10 |
Punctaj total | 60 |