Borderou de evaluare (job #2921197)

Utilizator NuSuntRomanIspir Alexandru NuSuntRoman Data 28 august 2022 12:43:50
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool BFS(int)': main.cpp:29:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for (int i = 0; i < G[u].size(); ++ i) { | ~~^~~~~~~~~~~~~ main.cpp: In function 'int DFSUtil(int, int)': main.cpp:51:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for (int &i = ptr[node]; i < G[node].size(); ++ i) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:92:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 92 | while (t = DFSUtil(0, 1e9)) | ~~^~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbOK1010
21ms184kbOK1010
31ms184kbOK1010
41ms184kbOK1010
51ms184kbOK1010
61ms184kbOK1010
71ms184kbOK1010
85ms438kbOK1030
93ms487kbOK10
104ms569kbOK10
Punctaj total100

Ceva nu functioneaza?