Borderou de evaluare (job #2370287)

Utilizator bogdi1bogdan bancuta bogdi1 Data 6 martie 2019 11:29:57
Problema Boom Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:61:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Solutie' [-Wformat=] printf("%d\n", dp[0]); ^ main.cpp:67: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:69:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<sol.size(); i++) ~^~~~~~~~~~~ main.cpp:26:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("boom.in", "r",stdin); ^ main.cpp:27:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("boom.out", "w",stdout); ^ main.cpp:29:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:31:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &sarje[i].cost, &k); ^ main.cpp:33:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms12713kbJust perfect!10
224ms12713kbJust perfect!10
324ms12713kbJust perfect!10
424ms12713kbJust perfect!10
526ms12713kbJust perfect!10
632ms12713kbJust perfect!10
736ms12713kbJust perfect!10
838ms12713kbJust perfect!10
952ms12713kbJust perfect!10
1052ms12845kbJust perfect!10
Punctaj total100

Ceva nu functioneaza?