Borderou de evaluare (job #2367619)

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

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:32:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<g[q.front()].size(); i++) ~^~~~~~~~~~~~~~~~~~~~ main.cpp:34: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:42: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:43: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
122ms12189kbOK!5
226ms12189kbOK!5
327ms12189kbOK!5
426ms12189kbRaspuns Gresit!0
527ms12189kbRaspuns Gresit!0
628ms12189kbOK!5
7163ms15073kbRaspuns Gresit!0
8284ms16908kbRaspuns Gresit!0
9397ms18612kbRaspuns Gresit!0
10517ms20316kbRaspuns Gresit!0
11633ms22020kbRaspuns Gresit!0
12656ms22413kbRaspuns Gresit!0
13757ms22806kbRaspuns Gresit!0
14675ms23199kbRaspuns Gresit!0
15674ms23461kbRaspuns Gresit!0
16683ms23986kbRaspuns Gresit!0
17698ms24641kbRaspuns Gresit!0
18717ms25165kbRaspuns Gresit!0
19829ms26607kbRaspuns Gresit!0
20805ms28442kbRaspuns Gresit!0
Punctaj total20

Ceva nu functioneaza?