Borderou de evaluare (job #2726945)

Utilizator cristiansanduCristian Sandu cristiansandu Data 21 martie 2021 13:05:30
Problema Substituții circulare cu element maxim Status done
Runda utcn-2021 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:72:10: warning: unused variable 'taken' [-Wunused-variable] bool taken[210] = { 0 }; // ce elemente au fost luate pentru permutare ^~~~~ main.cpp:75:10: warning: variable 'history' set but not used [-Wunused-but-set-variable] ulli history[210] = { 0 }; ^~~~~~~ main.cpp:78:20: warning: iteration 210 invokes undefined behavior [-Waggressive-loop-optimizations] history[i] = -1; ~~~~~~~~~~~^~~~ main.cpp:76:19: note: within this loop for(int i=0; i<=210; i++) ~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?