Borderou de evaluare (job #1906381)

Utilizator wilson182Alexandrina Panfil wilson182 Data 6 martie 2017 13:43:06
Problema Flori5 Status done
Runda lasm06.03.2017 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%ld%ld", &n, &k); ^ user.cpp:17:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=] user.cpp:19:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%ld", &x); ^ user.cpp:23:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%ld", &m); ^ user.cpp:25:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%ld%ld", &x, &y); ^ user.cpp:25:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=] user.cpp:27:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=] printf("%ld\n", raspuns(x, y)); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori5.in", "r", stdin); ^ user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori5.out", "w", stdout); ^ user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld", &n, &k); ^ user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &x); ^ user.cpp:23:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &m); ^ user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbIncorect0
20ms440kbIncorect0
30ms444kbIncorect0
40ms436kbIncorect0
50ms444kbIncorect0
60ms436kbIncorect0
70ms388kbKilled by signal 11(SIGSEGV).0
80ms392kbKilled by signal 11(SIGSEGV).0
90ms392kbKilled by signal 11(SIGSEGV).0
100ms388kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?