Borderou de evaluare (job #2816898)

Utilizator LicaMihaiIonutLica Mihai- Ionut LicaMihaiIonut Data 12 decembrie 2021 14:07:16
Problema Subsiruri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void read_solve()': main.cpp:16:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 16 | for(j=1, max=0; j<i; ++j) | ^~~ main.cpp:32:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 32 | if(!max) | ^~ main.cpp: In function 'void write()': main.cpp:57:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'int' [-Wformat=] 57 | printf("%d\n%llu", max, cate); | ~~~^ ~~~~ | | | | | int | long long unsigned int | %u main.cpp:57:12: warning: 'cate' may be used uninitialized in this function [-Wmaybe-uninitialized] 57 | printf("%d\n%llu", max, cate); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
72ms184kbOK10
82ms184kbOK10
96ms221kbOK10
102ms184kbOK10
Punctaj total100

Ceva nu functioneaza?