Pagini recente » Borderou de evaluare (job #2196246) | Borderou de evaluare (job #528069) | Monitorul de evaluare | Borderou de evaluare (job #528079) | Borderou de evaluare (job #2014906)
Borderou de evaluare (job #2014906)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("exp.in","r",stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("exp.out","w",stdout);
^
user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&N);
^
user.cpp:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:31:11: warning: iteration 29999u invokes undefined behavior [-Waggressive-loop-optimizations]
if(a[j]==0)
^
user.cpp:29:1: note: containing loop
for(j=2;j<=N;++j)
^
user.cpp:23:9: warning: iteration 14999u invokes undefined behavior [-Waggressive-loop-optimizations]
a[j]=1;
^
user.cpp:22:1: note: containing loop
for(j=2*2;j<=N;j=j+2)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 324kb | OK | 10 |
| 2 | 20ms | 320kb | OK | 10 |
| 3 | 0ms | 324kb | OK | 10 |
| 4 | 0ms | 324kb | OK | 10 |
| 5 | 0ms | 320kb | OK | 10 |
| 6 | 0ms | 316kb | OK | 10 |
| 7 | 0ms | 320kb | OK | 10 |
| 8 | 0ms | 316kb | OK | 10 |
| 9 | 0ms | 324kb | OK | 10 |
| 10 | 0ms | 316kb | OK | 10 |
| Punctaj total | 100 |