Pagini recente » Borderou de evaluare (job #449945) | Borderou de evaluare (job #611081) | Borderou de evaluare (job #2307393) | Borderou de evaluare (job #1937905) | Borderou de evaluare (job #1622164)
Borderou de evaluare (job #1622164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5: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:6: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:7:24: 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:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&a[i]);v[a[i]]++;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 280ms | 4176kb | OK | 10 |
5 | 12ms | 468kb | OK | 10 |
6 | 16ms | 520kb | OK | 10 |
7 | 16ms | 532kb | OK | 10 |
8 | 16ms | 480kb | OK | 10 |
9 | 16ms | 508kb | OK | 10 |
10 | 284ms | 4180kb | OK | 10 |
Punctaj total | 100 |