Pagini recente » Borderou de evaluare (job #1026493) | Borderou de evaluare (job #2910432) | Borderou de evaluare (job #2807253) | Borderou de evaluare (job #1558699) | Borderou de evaluare (job #2344687)
Borderou de evaluare (job #2344687)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:13: warning: iteration 18 invokes undefined behavior [-Waggressive-loop-optimizations]
p[i]=p[i-1]*2;
~~~~^~~~~~~~~
main.cpp:19:23: note: within this loop
for (int i = 2; i <= 20; i++)
~~^~~~~
main.cpp:39:23: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
g << ans-1 << '\n';
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 18ms | 262kb | OK | 10 |
7 | 21ms | 262kb | OK | 10 |
8 | 23ms | 262kb | OK | 10 |
9 | 25ms | 262kb | OK | 10 |
10 | 25ms | 262kb | OK | 10 |
Punctaj total | 100 |