Pagini recente » Borderou de evaluare (job #1633259) | Borderou de evaluare (job #2968698) | Borderou de evaluare (job #2642690) | Borderou de evaluare (job #685216) | Borderou de evaluare (job #1617011)
Borderou de evaluare (job #1617011)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.in","r",stdin);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.out","w",stdout);
^
user.cpp:8:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
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]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 268ms | 4164kb | Incorect | 0 |
5 | 12ms | 468kb | Incorect | 0 |
6 | 16ms | 520kb | Incorect | 0 |
7 | 16ms | 528kb | Incorect | 0 |
8 | 12ms | 476kb | Incorect | 0 |
9 | 16ms | 496kb | Incorect | 0 |
10 | 268ms | 4168kb | Incorect | 0 |
Punctaj total | 0 |