Pagini recente » Borderou de evaluare (job #1494653) | Borderou de evaluare (job #1046855) | Borderou de evaluare (job #871080) | Borderou de evaluare (job #535012) | Borderou de evaluare (job #3188433)
Borderou de evaluare (job #3188433)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:14: warning: iteration 99999 invokes undefined behavior [-Waggressive-loop-optimizations]
19 | v[i] = 1;
| ~~~~~^~~
main.cpp:18:24: note: within this loop
18 | for (long i = 1; i <= VALUE; i++) {
| ~~^~~~~~~~
main.cpp:36:16: warning: iteration 99998 invokes undefined behavior [-Waggressive-loop-optimizations]
36 | if (v[i] == 1 && nr < val) {
| ~~~^
main.cpp:34:24: note: within this loop
34 | for (long i = 2; i <= VALUE; i++)
| ~~^~~~~~~~
main.cpp:41:17: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
41 | fout << y * y;
| ^
main.cpp:9:16: note: 'y' was declared here
9 | long k, j, y;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 569kb | OK | 10 |
2 | 0ms | 561kb | OK | 10 |
3 | 0ms | 557kb | OK | 10 |
4 | 0ms | 557kb | OK | 10 |
5 | 0ms | 557kb | OK | 10 |
6 | 0ms | 561kb | Incorect | 0 |
7 | 0ms | 557kb | Incorect | 0 |
8 | 0ms | 557kb | Incorect | 0 |
9 | 0ms | 557kb | Incorect | 0 |
10 | 0ms | 557kb | Incorect | 0 |
Punctaj total | 50 |