Borderou de evaluare (job #3139655)

Utilizator Tibi201eweREWR Tibi201 Data 30 iunie 2023 16:43:35
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:20: warning: 'prevUltima' may be used uninitialized [-Wmaybe-uninitialized] 48 | armata = prevUltima; | ~~~~~~~^~~~~~~~~~~~ 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
4253ms1400kbOK10
5312ms1400kbIncorect0
6390ms1454kbIncorect0
7601ms1552kbTime limit exceeded0
8601ms1531kbTime limit exceeded0
9600ms1601kbTime limit exceeded0
10601ms1609kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?