Borderou de evaluare (job #1214772)

Utilizator atatomirTatomir Alex atatomir Data 31 iulie 2014 12:40:23
Problema Bleach Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld\n",&n,&k); ^ user.cpp:21:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:23:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld ",&x); ^ user.cpp:28:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld ",&x); ^ user.cpp:42:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld",ini); ^ user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bleach.in","r",stdin); ^ user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bleach.out","w",stdout); ^ user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld\n",&n,&k); ^ user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ",&x); ^ user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms436kbOK55
20ms436kbOK55
30ms440kbOK55
40ms440kbOK55
540ms436kbOK55
640ms436kbOK55
740ms440kbOK55
840ms440kbOK55
9408ms432kbOK520
10388ms440kbOK5
11408ms440kbOK5
12428ms436kbOK5
13444ms444kbOK520
14444ms448kbOK5
15424ms448kbOK5
16440ms444kbOK5
17448ms444kbOK50
18440ms444kbOK5
19448ms440kbOK5
20264ms436kbIncorect0
Punctaj total80

Ceva nu functioneaza?