Borderou de evaluare (job #694481)

Utilizator avatar arinac Arina Coroliuc arinac IP ascuns
Problemă Coborâre (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 feb. 2023 14:54:40 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void DFS(int)': main.cpp:21:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 21 | for(int u=0; u<adj[x].size(); u++){ | ~^~~~~~~~~~~~~~ main.cpp: In function 'void printGraph()': main.cpp:44:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 44 | for (int u = 0; u < adj[d].size(); u++) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:53:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | freopen("coborare.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:54:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | freopen("coborare.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 2084 kb OK 10
2 10 ms 3784 kb OK 10
3 406 ms 3915 kb Time limit exceeded 0
4 404 ms 4046 kb Time limit exceeded 0
5 404 ms 4325 kb Time limit exceeded 0
6 405 ms 4759 kb Time limit exceeded 0
7 406 ms 4964 kb Time limit exceeded 0
8 401 ms 4968 kb Time limit exceeded 0
9 403 ms 4976 kb Time limit exceeded 0
10 401 ms 4976 kb Time limit exceeded 0
Punctaj total 20