Borderou de evaluare (job #1417829)

Utilizator cristina_borzaCristina Borza cristina_borza Data 11 aprilie 2015 09:05:04
Problema Bignumber Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&n,&nr); ^ user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:57:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",v[i]); ^ user.cpp:128:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",maxi); ^ user.cpp:155:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",ca[i]); ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bignumber.in","r",stdin); ^ user.cpp:16:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bignumber.out","w",stdout); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&nr); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK5
20ms452kbOK5
30ms456kbOK5
40ms456kbOK5
50ms572kbOK5
60ms604kbOK5
728ms2008kbOK5
832ms2168kbOK5
932ms2328kbOK5
1044ms2480kbOK5
1152ms3204kbOK5
12116ms3920kbOK5
13160ms7384kbOK5
14264ms10860kbOK5
15444ms14332kbOK5
16348ms17796kbOK5
17Depăşit31668kbTime limit exceeded.0
18Depăşit31664kbTime limit exceeded.0
19Depăşit31672kbTime limit exceeded.0
20Depăşit31664kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?