Pagini recente » Borderou de evaluare (job #168168) | Borderou de evaluare (job #1932359) | Borderou de evaluare (job #920181) | Borderou de evaluare (job #1925601) | Borderou de evaluare (job #1212893)
Borderou de evaluare (job #1212893)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d%d%d",&n,&m,&p);
^
user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:13:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d",&a[j]);v[a[j]%250001]++;
^
user.c:24:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n%d",nr_rand,maxim);
^
user.c:24:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.c:6:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in","r",stdin);
^
user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out","w",stdout);
^
user.c:8:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&p);
^
user.c:13:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[j]);v[a[j]%250001]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 1432kb | OK! | 10 |
2 | 8ms | 1432kb | OK! | 10 |
3 | 76ms | 1432kb | OK! | 10 |
4 | 140ms | 1440kb | OK! | 10 |
5 | 224ms | 1444kb | OK! | 10 |
6 | 288ms | 1464kb | OK! | 10 |
7 | 280ms | 1468kb | OK! | 10 |
8 | 248ms | 2108kb | OK! | 10 |
9 | Depăşit | 1428kb | Time limit exceeded. | 0 |
10 | 240ms | 4160kb | OK! | 10 |
Punctaj total | 90 |