Pagini recente » Borderou de evaluare (job #2481660) | Borderou de evaluare (job #2410386) | Borderou de evaluare (job #862421) | Borderou de evaluare (job #2243637) | Borderou de evaluare (job #2243946)
Borderou de evaluare (job #2243946)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin) ;
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout) ;
^
user.cpp:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n) ;
^
user.cpp: In function ‘void sieve()’:
user.cpp:13:19: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
if (ciur[i] == 0){
~~~~~~^
user.cpp:12:20: note: within this loop
for (i = 2 ; i <= NMAX ; ++ i){
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 60ms | 5224kb | OK | 10 |
| 2 | 60ms | 5224kb | OK | 10 |
| 3 | 60ms | 5224kb | OK | 10 |
| 4 | 60ms | 5224kb | OK | 10 |
| 5 | 60ms | 5220kb | OK | 10 |
| 6 | 60ms | 5220kb | Incorect | 0 |
| 7 | 60ms | 5228kb | Incorect | 0 |
| 8 | 60ms | 5224kb | Incorect | 0 |
| 9 | 60ms | 5224kb | Incorect | 0 |
| 10 | 60ms | 5224kb | Incorect | 0 |
| Punctaj total | 50 |