Borderou de evaluare (job #2941374)

Utilizator petru.theodorCristea Petru Theodor petru.theodor Data 17 noiembrie 2022 18:09:35
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:10:15: warning: overflow in conversion from 'double' to 'std::vector<int>::size_type' {aka 'long unsigned int'} changes value from '-2.0e+10' to '0' [-Woverflow] 10 | vector<int> S(-2e10); | ^~~~~ main.cpp: In function 'int dfs(int)': main.cpp:18:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 18 | for(int i = 0; i<graf[nod].size(); i++){ | ~^~~~~~~~~~~~~~~~~ main.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type] 24 | } | ^ main.cpp: In function 'int main()': main.cpp:50:16: warning: overflow in conversion from 'double' to 'int' changes value from '-2.0e+10' to '-2147483648' [-Woverflow] 50 | int ans = -2e10; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms188kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?