Borderou de evaluare (job #2814936)

Utilizator marcumihaiMarcu Mihai marcumihai Data 8 decembrie 2021 20:32:20
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:48:21: warning: unused variable 'dif1' [-Wunused-variable] 48 | int dif1=n-i+1; | ^~~~ main.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 42 | for(int x=1; x<=log2(n); ++x) | ^~~ main.cpp:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 54 | for(int i=1; i<=n; ++i) | ^~~ main.cpp:59:21: warning: unused variable 'dif1' [-Wunused-variable] 59 | int dif1=m-j+1; | ^~~~ main.cpp:74:29: warning: unused variable 'dif1' [-Wunused-variable] 74 | int dif1=n-i+1; | ^~~~ main.cpp:75:29: warning: unused variable 'dif2' [-Wunused-variable] 75 | int dif2=m-j+1; | ^~~~ main.cpp:99:40: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 99 | rmq[i][j][x][y]=0; | ~~~~~~~~~~~~~~~^~ main.cpp:98:35: note: within this loop 98 | for(int y=0; y<=10; ++y) | ~^~~~ main.cpp:99:40: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 99 | rmq[i][j][x][y]=0; | ~~~~~~~~~~~~~~~^~ main.cpp:97:32: note: within this loop 97 | for(int x=0; x<=10; ++x) | ~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms6619kbOK10
244ms6623kbOK10
344ms6619kbOK10
42000ms52314kbTime limit exceeded0
52001ms52342kbTime limit exceeded0
62000ms52236kbTime limit exceeded0
72003ms52342kbTime limit exceeded0
82001ms52342kbTime limit exceeded0
92001ms52342kbTime limit exceeded0
102003ms52342kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?