Pagini recente » Borderou de evaluare (job #1047258) | Borderou de evaluare (job #3187522) | Borderou de evaluare (job #1384215) | Borderou de evaluare (job #1140621) | Borderou de evaluare (job #2853894)
Borderou de evaluare (job #2853894)
Raport evaluator
Compilare:
main.cpp: In function 'void ciur()':
main.cpp:12:18: warning: iteration 2000098 invokes undefined behavior [-Waggressive-loop-optimizations]
12 | ciurr[i] = 1;
| ~~~~~~~~~^~~
main.cpp:11:18: note: within this loop
11 | for(i = 2; i <= elem; i++)
| ~~^~~~~~~
main.cpp:14:18: warning: iteration 1000048 invokes undefined behavior [-Waggressive-loop-optimizations]
14 | ciurr[i] = 0;
| ~~~~~~~~~^~~
main.cpp:13:18: note: within this loop
13 | for(i = 4; i <= elem; i += 2)
| ~~^~~~~~~
main.cpp:12:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 2000100 is out of the bounds [0, 2000100] of object 'ciurr' with type 'bool [2000100]' [-Warray-bounds]
12 | ciurr[i] = 1;
| ~~~~~~~~~^~~
main.cpp:7:6: note: 'ciurr' declared here
7 | bool ciurr[elem];
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 54ms | 2269kb | OK | 10 |
2 | 53ms | 2166kb | OK | 10 |
3 | 53ms | 2220kb | OK | 10 |
4 | 53ms | 2232kb | OK | 10 |
5 | 53ms | 2211kb | OK | 10 |
6 | 54ms | 2174kb | OK | 10 |
7 | 53ms | 2154kb | OK | 10 |
8 | 54ms | 2158kb | OK | 10 |
9 | 58ms | 2269kb | OK | 10 |
10 | 53ms | 2183kb | OK | 10 |
Punctaj total | 100 |