Pagini recente » Borderou de evaluare (job #37964) | Borderou de evaluare (job #1984227) | Borderou de evaluare (job #2187139) | Borderou de evaluare (job #3231259) | Borderou de evaluare (job #2534882)
Borderou de evaluare (job #2534882)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:44: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int a, b, i, j, nr, max1, val, ct, cp, p, div, exp;
^
main.cpp:31:18: warning: iteration 44998 invokes undefined behavior [-Waggressive-loop-optimizations]
if(prim[i]==0)
~~~~~~^
main.cpp:29:15: note: within this loop
for(i=2; i<=45000; i++)
~^~~~~~~
main.cpp:18:38: warning: iteration 22498 invokes undefined behavior [-Waggressive-loop-optimizations]
for(i=4; i<=45000; i=i+2) prim[i]=1;
~~~~~~~^~
main.cpp:18:15: note: within this loop
for(i=4; i<=45000; i=i+2) prim[i]=1;
~^~~~~~~
main.cpp:84:34: warning: 'ct' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<val<<' '<<max1<<' '<<ct;
^
main.cpp:84:16: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<val<<' '<<max1<<' '<<ct;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 131kb | OK | 10 | 40 |
2 | 6ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 15ms | 131kb | OK | 10 |
5 | 4ms | 131kb | OK | 10 | 30 |
6 | 20ms | 131kb | OK | 10 |
7 | 6ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 | 30 |
9 | 3ms | 131kb | OK | 10 |
10 | 14ms | 131kb | OK | 10 |
Punctaj total | 100 |