Borderou de evaluare (job #1212893)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 26 iulie 2014 13:35:08
Problema Livada Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 90

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
18ms1432kbOK!10
28ms1432kbOK!10
376ms1432kbOK!10
4140ms1440kbOK!10
5224ms1444kbOK!10
6288ms1464kbOK!10
7280ms1468kbOK!10
8248ms2108kbOK!10
9Depăşit1428kbTime limit exceeded.0
10240ms4160kbOK!10
Punctaj total90

Ceva nu functioneaza?