Pagini recente » Borderou de evaluare (job #2940320) | Borderou de evaluare (job #2202404) | Borderou de evaluare (job #1333437) | Borderou de evaluare (job #291469) | Borderou de evaluare (job #2789970)
Borderou de evaluare (job #2789970)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:22: warning: iteration 999998 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 1000001 is outside array bounds of 'bool [1000000]' [-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 | 2ms | 184kb | Incorect | 0 | 0 |
2 | 2ms | 184kb | Incorect | 0 | 0 |
3 | 2ms | 184kb | Incorect | 0 | 0 |
4 | 6ms | 1224kb | Incorect | 0 | 0 |
5 | 10ms | 1175kb | Incorect | 0 | 0 |
6 | 11ms | 1224kb | Incorect | 0 | 0 |
7 | 12ms | 1224kb | Incorect | 0 | 0 |
8 | 100ms | 1159kb | Time limit exceeded | 0 | 0 |
9 | 101ms | 1224kb | Time limit exceeded | 0 |
10 | 105ms | 1232kb | Time limit exceeded | 0 |
Punctaj total | 0 |