Borderou de evaluare (job #2814933)

Utilizator marcumihaiMarcu Mihai marcumihai Data 8 decembrie 2021 20:27:26
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:21: warning: unused variable 'dif1' [-Wunused-variable] 51 | int dif1=n-i+1; | ^~~~ main.cpp:45:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 45 | for(int x=1; x<=log2(n); ++x) | ^~~ main.cpp:57:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 57 | for(int i=1; i<=n; ++i) | ^~~ main.cpp:62:21: warning: unused variable 'dif1' [-Wunused-variable] 62 | int dif1=m-j+1; | ^~~~ main.cpp:77:29: warning: unused variable 'dif1' [-Wunused-variable] 77 | int dif1=n-i+1; | ^~~~ main.cpp:78:29: warning: unused variable 'dif2' [-Wunused-variable] 78 | int dif2=m-j+1; | ^~~~ main.cpp:102:40: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 102 | rmq[i][j][x][y]=0; | ~~~~~~~~~~~~~~~^~ main.cpp:101:35: note: within this loop 101 | for(int y=0; y<=10; ++y) | ~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
147ms10874kbOK10
247ms10870kbOK10
348ms10870kbOK10
4849ms65552kbMemory limit exceeded0
5852ms65544kbMemory limit exceeded0
6847ms65556kbMemory limit exceeded0
794ms65556kbMemory limit exceeded0
894ms65556kbMemory limit exceeded0
993ms65556kbMemory limit exceeded0
1095ms65556kbMemory limit exceeded0
Punctaj total30

Ceva nu functioneaza?