Pagini recente » Borderou de evaluare (job #102103) | Borderou de evaluare (job #235781) | Borderou de evaluare (job #2319488) | Borderou de evaluare (job #1441707) | Borderou de evaluare (job #1693846)
Borderou de evaluare (job #1693846)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc2.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc2.out","w",stdout);
^
user.cpp:10: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:11:38: 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",&x);if(x>max1) max1=x;ap[x]++;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 284kb | OK | 5 |
2 | 252ms | 628kb | OK | 5 |
3 | 160ms | 360kb | OK | 5 |
4 | 4ms | 284kb | OK | 5 |
5 | 280ms | 392kb | OK | 5 |
6 | 4ms | 320kb | OK | 5 |
7 | 0ms | 2552kb | OK | 5 |
8 | 16ms | 1072kb | OK | 5 |
9 | 24ms | 1456kb | OK | 5 |
10 | 544ms | 4580kb | OK | 5 |
11 | 616ms | 4580kb | OK | 5 |
12 | 656ms | 4580kb | OK | 5 |
13 | 716ms | 4580kb | OK | 5 |
14 | 788ms | 4580kb | OK | 5 |
15 | 584ms | 4584kb | OK | 5 |
16 | 572ms | 4584kb | OK | 5 |
17 | 716ms | 4584kb | OK | 5 |
18 | 396ms | 4584kb | OK | 5 |
19 | 580ms | 4584kb | OK | 5 |
20 | 4ms | 288kb | OK | 5 |
Punctaj total | 100 |