Pagini recente » Borderou de evaluare (job #2237462) | Borderou de evaluare (job #216904) | Borderou de evaluare (job #1083133) | Borderou de evaluare (job #1989730) | Borderou de evaluare (job #3306360)
Borderou de evaluare (job #3306360)
Raport evaluator
Compilare:
main.cpp:8:34: warning: built-in function 'log2' declared as non-function [-Wbuiltin-declaration-mismatch]
8 | int n, m, dp[Nmax][20], v[Nmax], log2[Nmax];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:51:13: warning: unused variable 'jum' [-Wunused-variable]
51 | int jum = 1 << p;
| ^~~
main.cpp: In function 'void preCalc()':
main.cpp:30:17: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations]
30 | log2[i] = log2[i/2] + 1;
| ~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:29:22: note: within this loop
29 | for(int i = 2; i <= Nmax; i++){
| ~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 557kb | OK | 10 | 10 |
| 2 | 0ms | 819kb | Incorect | 0 | 0 |
| 3 | 1ms | 1081kb | Incorect | 0 | 0 |
| 4 | 23ms | 5185kb | Incorect | 0 | 0 |
| 5 | 24ms | 5218kb | Incorect | 0 | 0 |
| 6 | 176ms | 8048kb | Incorect | 0 |
| 7 | 186ms | 9637kb | Incorect | 0 | 0 |
| 8 | 230ms | 11669kb | Incorect | 0 | 0 |
| 9 | 250ms | 11902kb | Incorect | 0 | 0 |
| 10 | 279ms | 12279kb | Incorect | 0 | 0 |
| Punctaj total | 10 |