Borderou de evaluare (job #2223509)

Utilizator vladcainamisirVlad Cainamisir vladcainamisir Data 20 iulie 2018 14:44:51
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 96

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n",C2); ^ user.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n", C1 ); ^ user.cpp:59:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S\n", -1 * C1 ); ^ user.cpp:60:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S",-1 * C2); ^ user.cpp:65:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S\n", -1 * C1 ); ^ user.cpp:67:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S",-1 * C2); ^ user.cpp:69:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n",C2); ^ user.cpp:72:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n",C2); ^ user.cpp:73:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n", C1); ^ user.cpp:76:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S",-1 * C2); ^ user.cpp:10:18: warning: unused variable ‘D1’ [-Wunused-variable] char dir , c , D1 , D2; ^~ user.cpp:10:23: warning: unused variable ‘D2’ [-Wunused-variable] char dir , c , D1 , D2; ^~ user.cpp:4:31: 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:5:33: 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:7:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %c ", &nr, &dir); ^ user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
168ms880kbPrimul numar corect1
20ms756kbOK5
364ms796kbOK5
464ms752kbOK5
50ms796kbOK5
60ms936kbOK5
70ms876kbOK5
80ms860kbOK5
924ms876kbOK5
1024ms752kbOK5
110ms856kbOK5
1252ms936kbOK5
1348ms868kbOK5
140ms880kbOK5
150ms864kbOK5
160ms756kbOK5
1764ms872kbOK5
1864ms936kbOK5
1944ms808kbOK5
200ms760kbOK5
Punctaj total96

Ceva nu functioneaza?