Pagini recente » Borderou de evaluare (job #1225640) | Borderou de evaluare (job #1418973) | Borderou de evaluare (job #584917) | Borderou de evaluare (job #3175881) | Borderou de evaluare (job #1693844)
Borderou de evaluare (job #1693844)
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 | 272kb | OK | 5 |
2 | 336ms | 516kb | OK | 5 |
3 | 196ms | 340kb | OK | 5 |
4 | 4ms | 264kb | OK | 5 |
5 | 404ms | 364kb | OK | 5 |
6 | 4ms | 280kb | OK | 5 |
7 | 8ms | 1216kb | Incorect | 0 |
8 | 16ms | 464kb | OK | 5 |
9 | 20ms | 572kb | OK | 5 |
10 | 324ms | 1636kb | Incorect | 0 |
11 | 348ms | 1636kb | Incorect | 0 |
12 | 380ms | 1628kb | Incorect | 0 |
13 | 400ms | 1636kb | Incorect | 0 |
14 | 444ms | 1636kb | Incorect | 0 |
15 | 452ms | 1628kb | Incorect | 0 |
16 | 476ms | 1628kb | Incorect | 0 |
17 | 468ms | 1632kb | Incorect | 0 |
18 | 448ms | 1636kb | Incorect | 0 |
19 | 472ms | 1632kb | Incorect | 0 |
20 | 4ms | 268kb | OK | 5 |
Punctaj total | 45 |