Pagini recente » Borderou de evaluare (job #327170) | Borderou de evaluare (job #2977822) | Borderou de evaluare (job #2138612) | Borderou de evaluare (job #1902181) | Borderou de evaluare (job #1620508)
Borderou de evaluare (job #1620508)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:31: 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:29:33: 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:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:32:65: 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]),++freq[a[i]],m=max(m,a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1484kb | OK | 10 |
2 | 4ms | 1484kb | OK | 10 |
3 | 4ms | 1464kb | OK | 10 |
4 | Depăşit | 5332kb | Time limit exceeded. | 0 |
5 | 40ms | 1672kb | OK | 10 |
6 | 48ms | 1720kb | OK | 10 |
7 | 48ms | 1724kb | OK | 10 |
8 | 40ms | 1676kb | OK | 10 |
9 | 40ms | 1696kb | OK | 10 |
10 | Depăşit | 5332kb | Time limit exceeded. | 0 |
Punctaj total | 80 |