Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2691270) | Take 5 | Borderou de evaluare (job #2670531) | Borderou de evaluare (job #2802781)
Borderou de evaluare (job #2802781)
Raport evaluator
Compilare:
main.cpp:4: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
4 | #pragma GCC optimization ("unroll-loops")
|
main.cpp: In function 'int main()':
main.cpp:87:9: warning: unused variable 'n' [-Wunused-variable]
87 | int n, k;
| ^
main.cpp: In member function 'Huge Huge::operator*(const Huge&)':
main.cpp:30:44: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations]
30 | for(int i = 0; i <= L; i++) res[i] = 0;
| ~~~~~~~^~~
main.cpp:30:26: note: within this loop
30 | for(int i = 0; i <= L; i++) res[i] = 0;
| ~~^~~~
main.cpp: In function 'int main()':
main.cpp:30:42: warning: array subscript 6 is above array bounds of 'll [6]' {aka 'long long int [6]'} [-Warray-bounds]
30 | for(int i = 0; i <= L; i++) res[i] = 0;
| ~~~~~^
main.cpp:29:12: note: while referencing 'res'
29 | ll res[L] = {}, s = 0; memset(res, 0, sizeof(res));
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK | 5 |
| 2 | 1ms | 184kb | OK | 5 |
| 3 | 2ms | 184kb | OK | 5 |
| 4 | 1ms | 184kb | OK | 5 |
| 5 | 1ms | 184kb | OK | 5 |
| 6 | 1ms | 184kb | OK | 5 |
| 7 | 1ms | 184kb | Incorect | 0 |
| 8 | 7ms | 397kb | OK | 5 |
| 9 | 1ms | 184kb | OK | 5 |
| 10 | 3ms | 307kb | OK | 5 |
| 11 | 7ms | 307kb | OK | 5 |
| 12 | 14ms | 348kb | OK | 5 |
| 13 | 25ms | 307kb | OK | 5 |
| 14 | 33ms | 434kb | OK | 5 |
| 15 | 49ms | 307kb | OK | 5 |
| 16 | 41ms | 438kb | OK | 5 |
| 17 | 96ms | 307kb | OK | 5 |
| 18 | 80ms | 438kb | OK | 5 |
| 19 | 80ms | 307kb | Incorect | 0 |
| 20 | 64ms | 307kb | Incorect | 0 |
| Punctaj total | 85 |