Borderou de evaluare (job #2640270)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 5 august 2020 19:35:48
Problema Plan Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void dfst(int)': main.cpp:27:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < T[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void dfsctc(int)': main.cpp:39:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < C[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:75:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[i].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp:96:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n" , mch.size()); ^ main.cpp:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < mch.size() ; i ++) ~~^~~~~~~~~~~~ main.cpp:54:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("plan.in" , "r" , stdin); ^ main.cpp:55:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("plan.out" , "w" , stdout); ^ main.cpp:57:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &m); ^ main.cpp:60:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &x , &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit0
25ms262kbRaspuns gresit0
33ms131kbRaspuns gresit0
42ms131kbCorect10
53ms131kbRaspuns gresit0
63ms131kbCorect10
76ms393kbRaspuns gresit0
83ms131kbRaspuns gresit0
93ms131kbRaspuns gresit0
103ms131kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?