Borderou de evaluare (job #3139656)

Utilizator Tibi201eweREWR Tibi201 Data 30 iunie 2023 16:45:38
Problema Infinitywar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:43:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::size_t' {aka 'long unsigned int'} [-Wformat=] 43 | fprintf(fout, "%d\n", razboi.count()); | ~^ ~~~~~~~~~~~~~~ | | | | int std::size_t {aka long unsigned int} | %ld main.cpp:71:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::size_t' {aka 'long unsigned int'} [-Wformat=] 71 | fprintf(fout, "%d\n", razboi.count()); | ~^ ~~~~~~~~~~~~~~ | | | | int std::size_t {aka long unsigned int} | %ld main.cpp:48:33: warning: 'prevUltima' may be used uninitialized [-Wmaybe-uninitialized] 48 | armata = prevUltima + 1; | ~~~~~~~~~~~^~~ main.cpp:36:24: note: 'prevUltima' was declared here 36 | int prevArmata=-1, prevUltima; | ^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
219ms663kbIncorect0
374ms864kbIncorect0
4258ms1400kbOK10
5312ms1404kbIncorect0
6391ms1454kbIncorect0
7601ms1548kbTime limit exceeded0
8601ms1527kbTime limit exceeded0
9603ms1593kbTime limit exceeded0
10601ms1609kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?