Pagini recente » Borderou de evaluare (job #1921421) | Borderou de evaluare (job #623064) | Borderou de evaluare (job #2201337) | Borderou de evaluare (job #464505) | Borderou de evaluare (job #2655103)
Borderou de evaluare (job #2655103)
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 | 20ms | 131kb | OK | 10 | 0 |
2 | 10ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 55ms | 131kb | Time limit exceeded | 0 |
5 | 6ms | 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 |