Borderou de evaluare (job #1417876)

Utilizator cristina_borzaCristina Borza cristina_borza Data 11 aprilie 2015 12:00:54
Problema Bignumber Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:37:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",i); ^ user.cpp:85:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",a[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
10ms436kbOK5
20ms432kbOK5
30ms436kbOK5
40ms428kbOK5
50ms464kbOK5
60ms472kbOK5
712ms824kbOK5
812ms860kbOK5
916ms896kbOK5
1016ms940kbOK5
1124ms1120kbOK5
1232ms1300kbOK5
1360ms2164kbOK5
1488ms3036kbOK5
15120ms3900kbOK5
16148ms4768kbOK5
17268ms8240kbOK5
18268ms8240kbOK5
19292ms8240kbOK5
20276ms8244kbOK5
Punctaj total100

Ceva nu functioneaza?