Pagini recente » Borderou de evaluare (job #263983) | Borderou de evaluare (job #963037) | Borderou de evaluare (job #634233) | Borderou de evaluare (job #1908846) | Borderou de evaluare (job #2814936)
Borderou de evaluare (job #2814936)
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 |
1 | 44ms | 6619kb | OK | 10 |
2 | 44ms | 6623kb | OK | 10 |
3 | 44ms | 6619kb | OK | 10 |
4 | 2000ms | 52314kb | Time limit exceeded | 0 |
5 | 2001ms | 52342kb | Time limit exceeded | 0 |
6 | 2000ms | 52236kb | Time limit exceeded | 0 |
7 | 2003ms | 52342kb | Time limit exceeded | 0 |
8 | 2001ms | 52342kb | Time limit exceeded | 0 |
9 | 2001ms | 52342kb | Time limit exceeded | 0 |
10 | 2003ms | 52342kb | Time limit exceeded | 0 |
Punctaj total | 30 |