Borderou de evaluare (job #2055661)

Utilizator cristina-criCristina cristina-cri Data 3 noiembrie 2017 16:15:48
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 17

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:43:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",s/2); ^ user.cpp:69:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n%d D",dr,st*(-1)); ^ user.cpp:69:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:74:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S\n%d S",st,dr*(-1)); ^ user.cpp:74:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:77:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S\n%d D",st,dr); ^ user.cpp:77:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in","r",stdin); ^ user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.out","w",stdout); ^ user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:39:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c",&b[i].v,&b[i].d); ^ user.cpp:44:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms1064kbRaspuns gresit0
20ms1060kbPrimul numar corect1
336ms1060kbRaspuns gresit0
436ms1056kbRaspuns gresit0
50ms1064kbPrimul numar corect1
60ms1060kbPrimul numar corect1
70ms1064kbPrimul numar corect1
80ms1056kbPrimul numar corect1
912ms1060kbPrimul numar corect1
1012ms1060kbPrimul numar corect1
110ms1064kbPrimul numar corect1
1228ms1060kbPrimul numar corect1
1328ms1064kbPrimul numar corect1
140ms1060kbPrimul numar corect1
150ms1060kbPrimul numar corect1
160ms1060kbPrimul numar corect1
1732ms1064kbPrimul numar corect1
1832ms1060kbPrimul numar corect1
1924ms1060kbPrimul numar corect1
200ms1060kbPrimul numar corect1
Punctaj total17

Ceva nu functioneaza?