Pagini recente » Autentificare | Statisticile problemei Secv10 | testone | Statisticile problemei Alinuta | Borderou de evaluare (job #1237247)
Borderou de evaluare (job #1237247)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w",stdout);
^
user.cpp:8:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k); mx=-1;
^
user.cpp:9:43: 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", &a[i]); if (a[i]>mx) mx=a[i];} a[n+1]=0;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 292kb | OK | 10 |
| 7 | 4ms | 308kb | OK | 10 |
| 8 | 4ms | 316kb | OK | 10 |
| 9 | 4ms | 308kb | OK | 10 |
| 10 | 4ms | 312kb | OK | 10 |
| Punctaj total | 100 |