Pagini recente » Borderou de evaluare (job #941698) | Borderou de evaluare (job #1604550) | Borderou de evaluare (job #1780600) | Borderou de evaluare (job #1940455) | Borderou de evaluare (job #1618347)
Borderou de evaluare (job #1618347)
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 | 1488kb | OK | 10 |
| 2 | 4ms | 1484kb | OK | 10 |
| 3 | 4ms | 1464kb | OK | 10 |
| 4 | Depăşit | 5332kb | Time limit exceeded. | 0 |
| 5 | 36ms | 1672kb | OK | 10 |
| 6 | 48ms | 1724kb | OK | 10 |
| 7 | 48ms | 1720kb | OK | 10 |
| 8 | 40ms | 1676kb | OK | 10 |
| 9 | 44ms | 1700kb | OK | 10 |
| 10 | Depăşit | 5328kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |