Pagini recente » Borderou de evaluare (job #2840272) | Borderou de evaluare (job #1130563) | Borderou de evaluare (job #2998885) | Borderou de evaluare (job #3215397) | Borderou de evaluare (job #602433)
Borderou de evaluare (job #602433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre2.in","r",stdin);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre2.out","w",stdout);
^
user.cpp:7:21: 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:34: 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",&c);cnt[c]++;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 656kb | OK | 10 |
2 | 0ms | 664kb | OK | 10 |
3 | 0ms | 656kb | OK | 10 |
4 | 0ms | 660kb | OK | 10 |
5 | 0ms | 652kb | OK | 10 |
6 | 0ms | 660kb | OK | 10 |
7 | 0ms | 660kb | OK | 10 |
8 | 20ms | 684kb | OK | 10 |
9 | 20ms | 692kb | OK | 10 |
10 | 20ms | 692kb | OK | 10 |
Punctaj total | 100 |