Borderou de evaluare (job #1644708)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 10 martie 2016 08:46:55
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 28

Raport evaluator

Compilare: user.cpp: In function ‘void afisare(int)’: user.cpp:31:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S\n", n/2-sol[x-1].s); ^ user.cpp:32:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S", n/2-sol[x-1].f); ^ user.cpp:35:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D\n", sol[x-1].f-n/2); ^ user.cpp:36:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D", sol[x-1].s-n/2+1); ^ user.cpp:39:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d S\n", n/2-sol[x-1].s); ^ user.cpp:40:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d D", sol[x-1].f+1-n/2); ^ user.cpp:28:9: warning: unused variable ‘s’ [-Wunused-variable] int s=n/2; ^ user.cpp: In function ‘int main()’: user.cpp:46: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:47: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:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &col); ^ user.cpp:51:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c\n", &v, &p); ^ user.cpp:56:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c\n", &v, &p); ^ user.cpp:60:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit580kbTime limit exceeded.0
20ms444kbOK5
336ms1228kbPrimul numar corect1
4Depăşit580kbTime limit exceeded.0
50ms448kbPrimul numar corect1
60ms452kbPrimul numar corect1
70ms452kbPrimul numar corect1
80ms448kbPrimul numar corect1
9Depăşit532kbTime limit exceeded.0
1016ms840kbPrimul numar corect1
110ms464kbPrimul numar corect1
12Depăşit580kbTime limit exceeded.0
13Depăşit580kbTime limit exceeded.0
140ms456kbPrimul numar corect1
150ms444kbOK5
160ms452kbOK5
17Depăşit576kbTime limit exceeded.0
18Depăşit576kbTime limit exceeded.0
19Depăşit580kbTime limit exceeded.0
200ms448kbOK5
Punctaj total28

Ceva nu functioneaza?