Pagini recente » Borderou de evaluare (job #3236394) | Borderou de evaluare (job #106888) | Borderou de evaluare (job #41743) | Borderou de evaluare (job #541849) | Borderou de evaluare (job #2789975)
Borderou de evaluare (job #2789975)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:22: warning: iteration 1000011 invokes undefined behavior [-Waggressive-loop-optimizations]
41 | if (isPrime[i])
| ~~~~~~~~~^
main.cpp:39:23: note: within this loop
39 | for (int i = 2; i <= MAX; ++i)
| ^
main.cpp:38:9: warning: array subscript 1000014 is outside array bounds of 'bool [1000013]' [-Warray-bounds]
38 | fill(isPrime, isPrime + MAX + 1, true);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:37:10: note: while referencing 'isPrime'
37 | bool isPrime[MAX];
| ^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 1224kb | Incorect | 0 | 0 |
2 | 17ms | 1224kb | Incorect | 0 | 0 |
3 | 1ms | 184kb | Incorect | 0 | 0 |
4 | 5ms | 1224kb | Incorect | 0 | 0 |
5 | 11ms | 1224kb | Incorect | 0 | 0 |
6 | 9ms | 1232kb | Incorect | 0 | 0 |
7 | 13ms | 1224kb | Incorect | 0 | 0 |
8 | 102ms | 1224kb | Time limit exceeded | 0 | 0 |
9 | 104ms | 1224kb | Time limit exceeded | 0 |
10 | 100ms | 1241kb | Time limit exceeded | 0 |
Punctaj total | 0 |