Borderou de evaluare (job #2531106)

Utilizator stefan_creastaStefan Creasta stefan_creasta Data 25 ianuarie 2020 18:03:58
Problema Arbsat2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<ABC>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", sol.size()); ^ main.cpp:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sol.size(); i++) { ~~^~~~~~~~~~~~ main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbsat2.in", "r", stdin); ^ main.cpp:32:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbsat2.out", "w", stdout); ^ main.cpp:33: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:36: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
12ms131kbRaspuns gresit!0
26ms262kbRaspuns gresit!0
310ms393kbRaspuns gresit!0
456ms1564kbRaspuns gresit!0
5169ms4964kbRaspuns gresit!0
6372ms10395kbRaspuns gresit!0
7691ms19443kbRaspuns gresit!0
8634ms19636kbRaspuns gresit!0
9641ms19636kbRaspuns gresit!0
10662ms19636kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?