Pagini recente » Cod sursa (job #2129010) | Borderou de evaluare (job #2669621) | Cod sursa (job #287501) | Cod sursa (job #3569) | Borderou de evaluare (job #1356890)
Borderou de evaluare (job #1356890)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30: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:31: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:32: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:33: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 | 580kb | Time limit exceeded. | 0 |
| 2 | 20ms | 548kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 288kb | OK | 10 |
| 6 | 0ms | 272kb | OK | 10 |
| 7 | 0ms | 280kb | OK | 10 |
| 8 | 0ms | 288kb | OK | 10 |
| 9 | 0ms | 288kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 90 |