Borderou de evaluare (job #2367501)

Utilizator bogdi1bogdan bancuta bogdi1 Data 5 martie 2019 11:06:58
Problema Markon Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<g[q.front()].size(); i++) ~^~~~~~~~~~~~~~~~~~~~ main.cpp:31:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(val[q.front()]==0 || g[q.front()].size()-vecmarcat[q.front()]<val[q.front()]){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:40:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", sol.size()); ^ main.cpp:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<sol.size(); i++) ~^~~~~~~~~~~ main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("markon.in", "r",stdin); ^ main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("markon.out", "w",stdout); ^ main.cpp:17:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &s); ^ main.cpp:19:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ main.cpp:21:30: 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
123ms12189kbOK!5
227ms12189kbOK!5
327ms12189kbRaspuns Gresit!0
427ms12189kbRaspuns Gresit!0
523ms12189kbRaspuns Gresit!0
627ms12189kbRaspuns Gresit!0
7162ms15073kbRaspuns Gresit!0
8288ms16777kbRaspuns Gresit!0
9431ms18481kbRaspuns Gresit!0
10564ms20185kbRaspuns Gresit!0
11651ms21889kbRaspuns Gresit!0
12714ms22282kbRaspuns Gresit!0
13725ms22675kbRaspuns Gresit!0
14731ms22937kbRaspuns Gresit!0
15703ms23404kbRaspuns Gresit!0
16764ms23986kbRaspuns Gresit!0
17704ms24510kbRaspuns Gresit!0
18711ms25034kbRaspuns Gresit!0
19837ms26607kbRaspuns Gresit!0
20894ms28311kbRaspuns Gresit!0
Punctaj total10

Ceva nu functioneaza?