Pagini recente » Borderou de evaluare (job #2494570) | Borderou de evaluare (job #2156236) | Borderou de evaluare (job #2453660) | Borderou de evaluare (job #2378680) | Borderou de evaluare (job #3188422)
Borderou de evaluare (job #3188422)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:14: warning: iteration 99999 invokes undefined behavior [-Waggressive-loop-optimizations]
15 | v[i] = 1;
| ~~~~~^~~
main.cpp:13:23: note: within this loop
13 | for (int i = 1; i <= VALUE; i++)
| ~~^~~~~~~~
main.cpp:32:16: warning: iteration 99998 invokes undefined behavior [-Waggressive-loop-optimizations]
32 | if (v[i] == 1 && nr < val) {
| ~~~^
main.cpp:30:23: note: within this loop
30 | for (int i = 2; i <= VALUE; i++)
| ~~^~~~~~~~
main.cpp:37:17: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
37 | cout << y * y;
| ^
main.cpp:7:21: note: 'y' was declared here
7 | long long k, j, y;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | Incorect | 0 |
2 | 0ms | 557kb | Incorect | 0 |
3 | 0ms | 557kb | Incorect | 0 |
4 | 0ms | 557kb | Incorect | 0 |
5 | 0ms | 557kb | Incorect | 0 |
6 | 0ms | 557kb | Incorect | 0 |
7 | 0ms | 557kb | Incorect | 0 |
8 | 0ms | 557kb | Incorect | 0 |
9 | 0ms | 557kb | Incorect | 0 |
10 | 0ms | 557kb | Incorect | 0 |
Punctaj total | 0 |