Pagini recente » Cod sursa (job #3249331) | Borderou de evaluare (job #1176612) | Borderou de evaluare (job #1437187) | Borderou de evaluare (job #1427314) | Borderou de evaluare (job #2794426)
Borderou de evaluare (job #2794426)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:37: warning: narrowing conversion of '(((int)v[i]) + ((int)v[j]))' from 'int' to 'short int' [-Wnarrowing]
33 | tuples[nrtup++] = {v[i] + v[j], i, j};
| ~~~~~^~~~~~
main.cpp:33:45: warning: narrowing conversion of 'i' from 'int' to 'short int' [-Wnarrowing]
33 | tuples[nrtup++] = {v[i] + v[j], i, j};
| ^
main.cpp:33:48: warning: narrowing conversion of 'j' from 'int' to 'short int' [-Wnarrowing]
33 | tuples[nrtup++] = {v[i] + v[j], i, j};
| ^
main.cpp: In function 'int query(int, int)':
main.cpp:61:9: warning: statement has no effect [-Wunused-value]
61 | for(lin; lin > 0; lin -= (lin & -lin))
| ^~~
main.cpp: In function 'void update(int, int, int, int)':
main.cpp:69:10: warning: statement has no effect [-Wunused-value]
69 | for (lin; lin <= n; lin += (lin & -lin))
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 274kb | Incorect | 0 |
| 2 | 1ms | 188kb | Incorect | 0 |
| 3 | 2ms | 188kb | Incorect | 0 |
| 4 | 4ms | 540kb | Incorect | 0 |
| 5 | 1ms | 184kb | Incorect | 0 |
| 6 | 18ms | 1093kb | Incorect | 0 |
| 7 | 11ms | 946kb | Incorect | 0 |
| 8 | 18ms | 1282kb | Incorect | 0 |
| 9 | 29ms | 1548kb | Incorect | 0 |
| 10 | 38ms | 1818kb | Incorect | 0 |
| 11 | 50ms | 2039kb | Incorect | 0 |
| 12 | 77ms | 2498kb | Incorect | 0 |
| 13 | 99ms | 2904kb | Incorect | 0 |
| 14 | 106ms | 3588kb | Incorect | 0 |
| 15 | 107ms | 3584kb | Incorect | 0 |
| 16 | 121ms | 3612kb | Incorect | 0 |
| 17 | 119ms | 3608kb | Incorect | 0 |
| 18 | 117ms | 3616kb | Incorect | 0 |
| 19 | 194ms | 3612kb | Incorect | 0 |
| 20 | 1ms | 184kb | Incorect | 0 |
| Punctaj total | 0 |