Pagini recente » Borderou de evaluare (job #1218947) | Borderou de evaluare (job #2667611) | Borderou de evaluare (job #767402) | Borderou de evaluare (job #1935824) | Borderou de evaluare (job #2078953)
Borderou de evaluare (job #2078953)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4: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:5: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:7:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:8: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 (valMax<a[i]) valMax=a[i];}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 296kb | Incorect | 0 |
6 | 0ms | 304kb | Incorect | 0 |
7 | 0ms | 316kb | Incorect | 0 |
8 | 4ms | 324kb | Incorect | 0 |
9 | 4ms | 324kb | Incorect | 0 |
10 | 4ms | 328kb | Incorect | 0 |
Punctaj total | 10 |