Borderou de evaluare (job #1620984)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 29 februarie 2016 14:54:07
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 3

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d\n", &n); ^ user.cpp:19:34: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%lld %c\n", &x, &d); ^ user.cpp:23:27: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n", s / 2); ^ user.cpp:10: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:11: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:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:19:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %c\n", &x, &d); ^ user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms1972kbPrimul numar corect1
20ms432kbRaspuns gresit0
344ms1964kbPrimul numar corect1
444ms1964kbPrimul numar corect1
50ms436kbRaspuns gresit0
60ms436kbRaspuns gresit0
70ms440kbRaspuns gresit0
80ms436kbRaspuns gresit0
912ms1248kbRaspuns gresit0
1016ms1244kbRaspuns gresit0
110ms488kbRaspuns gresit0
1236ms1968kbRaspuns gresit0
1332ms1968kbRaspuns gresit0
140ms488kbRaspuns gresit0
150ms436kbRaspuns gresit0
160ms436kbRaspuns gresit0
1740ms1968kbRaspuns gresit0
1840ms1964kbRaspuns gresit0
1928ms1972kbRaspuns gresit0
200ms440kbRaspuns gresit0
Punctaj total3

Ceva nu functioneaza?