Pagini recente » Borderou de evaluare (job #881579) | Borderou de evaluare (job #3189833) | Borderou de evaluare (job #1872133) | Borderou de evaluare (job #2580386) | Borderou de evaluare (job #2655069)
Borderou de evaluare (job #2655069)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:13: warning: variable 'nrprime' set but not used [-Wunused-but-set-variable]
int a, b, nrprime, i, cnt, max1, nrsol, val, x, rad, j, nrdiv;
^~~~~~~
main.cpp: In function 'int numereprime()':
main.cpp:24:12: warning: iteration 44998 invokes undefined behavior [-Waggressive-loop-optimizations]
if (c[i] == 0)
~~~^
main.cpp:23:17: note: within this loop
for (i = 2; i <= 45000; i++)
~~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:65:18: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << val << " " << max1 << " " << nrsol;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 131kb | OK | 10 | 0 |
2 | 10ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 55ms | 131kb | Time limit exceeded | 0 |
5 | 8ms | 131kb | OK | 10 | 30 |
6 | 41ms | 131kb | OK | 10 |
7 | 7ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 | 0 |
9 | 3ms | 131kb | OK | 10 |
10 | 50ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 30 |