Borderou de evaluare (job #2799260)

Utilizator Codrut198Codrut Dinca Codrut198 Data 12 noiembrie 2021 18:37:03
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 10 | fscanf(fin, "%d", &n); | ~^ ~~ | | | | | short int* | int* | %hd main.cpp:62:20: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations] 62 | o[k+10]=' '; | ~~~~~~~^~~~ main.cpp:55:16: note: within this loop 55 | while(k<=81) | ~^~~~ main.cpp:151:17: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations] 151 | o[k]=' ';k+=2; | ~~~~^~~~ main.cpp:149:16: note: within this loop 149 | while(k<=141) | ~^~~~~ main.cpp:233:17: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] 233 | o[k]=' ';k+=2; | ~~~~^~~~ main.cpp:231:16: note: within this loop 231 | while(k<=121) | ~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK20
22ms184kbOK20
31ms184kbKilled by Signal 110
41ms184kbKilled by Signal 110
56ms700kbOK20
Punctaj total60

Ceva nu functioneaza?