Pagini recente » Borderou de evaluare (job #1372614) | Borderou de evaluare (job #3164194) | Cod sursa (job #1373301) | Borderou de evaluare (job #1794744) | Borderou de evaluare (job #1356826)
Borderou de evaluare (job #1356826)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29: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:30: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:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:32:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) { scanf("%d",&x[i]); if (x[i]>maxim) maxim=x[i];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 572kb | Time limit exceeded. | 0 |
| 2 | 20ms | 548kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 268kb | Incorect | 0 |
| 6 | 0ms | 272kb | OK | 10 |
| 7 | 0ms | 276kb | Incorect | 0 |
| 8 | 0ms | 280kb | Incorect | 0 |
| 9 | 0ms | 288kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 60 |