Borderou de evaluare (job #2510095)

Utilizator paul3ioanCirstean Paul Ioan paul3ioan Data 15 decembrie 2019 19:30:35
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:48:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] printf("%lld", sol); ^ main.cpp: In function 'void citire()': main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%lld%lld%lld%lld%lld%lld%lld%lld%lld", &n, &m, &c, &r, &x, &y, &z, &w, &u); ^ main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] main.cpp:57:26: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%lld", &v[1][i]); ^ main.cpp:63:26: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%lld", &v[i][1]); ^ main.cpp: In function 'int main()': main.cpp:47:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.out", "w", stdout); ^ main.cpp: In function 'void citire()': main.cpp:53:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.in", "r", stdin); ^ main.cpp:54:86: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld%lld%lld%lld%lld%lld", &n, &m, &c, &r, &x, &y, &z, &w, &u); ^ main.cpp:57:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[1][i]); ^ main.cpp:63:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i][1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbIncorect0
22ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
55ms131kbIncorect0
64ms131kbIncorect0
713ms262kbIncorect0
818ms241kbIncorect0
913ms262kbIncorect0
102ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?