Borderou de evaluare (job #2510090)

Utilizator paul3ioanCirstean Paul Ioan paul3ioan Data 15 decembrie 2019 19:26:56
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:67:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 2 ; i <= n ; i++) ^~~ main.cpp:74:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fclose(stdin); ^~~~~~ 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
23ms163kbIncorect0
34ms131kbIncorect0
44ms131kbIncorect0
54ms131kbIncorect0
65ms131kbIncorect0
718ms217kbIncorect0
812ms262kbIncorect0
917ms245kbIncorect0
102ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?