Pagini recente » Borderou de evaluare (job #2332917) | Borderou de evaluare (job #3125256) | Borderou de evaluare (job #68886) | Borderou de evaluare (job #168185) | Borderou de evaluare (job #1622159)
Borderou de evaluare (job #1622159)
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 | 280kb | OK | 10 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 292ms | 4176kb | OK | 10 |
5 | 12ms | 468kb | OK | 10 |
6 | 16ms | 516kb | OK | 10 |
7 | 16ms | 528kb | OK | 10 |
8 | 16ms | 480kb | OK | 10 |
9 | 16ms | 500kb | OK | 10 |
10 | 276ms | 4176kb | OK | 10 |
Punctaj total | 90 |