Borderou de evaluare (job #1837277)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 29 decembrie 2016 13:52:09
Problema Piata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:65: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld\n%lld %lld\n%lld %lld\n", &n, &it, &jt, &im, &jm); ^ user.cpp:39:65: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:39:65: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:39:65: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:39:65: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 6 has type ‘long int*’ [-Wformat=] user.cpp:45:22: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%lld", st); ^ user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("piata.in", "r", stdin); ^ user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("piata.out", "w", stdout); ^ user.cpp:39:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld\n%lld %lld\n%lld %lld\n", &n, &it, &jt, &im, &jm); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
20ms272kbIncorect0
30ms276kbIncorect0
40ms280kbIncorect0
50ms280kbIncorect0
60ms276kbIncorect0
70ms272kbIncorect0
80ms276kbIncorect0
90ms276kbIncorect0
100ms276kbIncorect0
Punctaj total0

Ceva nu functioneaza?