Borderou de evaluare (job #2843695)

Utilizator cadmium_Voicu Mihai Valeriu cadmium_ Data 2 februarie 2022 19:45:10
Problema Smart Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In member function 'long long int Dinic::dfs(int, long long int)': main.cpp:61:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | for(int &i = ptr[node]; i < g[node].size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'long long int Dinic::flow()': main.cpp:86:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | while(temp = dfs(s, inf)) | ~~~~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:121:65: warning: overflow in conversion from 'long long int' to 'int' changes value from '10000000000000000' to '1874919424' [-Woverflow] 121 | flux.push(i + (t - 1) * free.size(), i + t * free.size(), inf); | ^~~ main.cpp:116:44: warning: 'T' may be used uninitialized in this function [-Wmaybe-uninitialized] 116 | flux.reset(free.size() * (t + 1), S, T + t * free.size()); | ~~^~~~~~~~~~~~~~~~~ main.cpp:25:7: warning: 'S' may be used uninitialized in this function [-Wmaybe-uninitialized] 25 | s = b; | ~~^~~ main.cpp:98:7: note: 'S' was declared here 98 | int S, T; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms2740kbOK10
216ms905kbOK10
354ms1048kbOK10
4183ms2768kbOK10
5139ms3022kbOK10
6850ms5750kbTime limit exceeded0
7162ms5488kbOK10
8141ms1564kbOK10
9852ms5644kbTime limit exceeded0
10854ms5734kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?