Borderou de evaluare (job #2510084)

Utilizator paul3ioanCirstean Paul Ioan paul3ioan Data 15 decembrie 2019 19:21:03
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:29: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] printf("%lld", cautare()); ^ 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:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 5 has type 'int*' [-Wformat=] main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 6 has type 'int*' [-Wformat=] main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 7 has type 'int*' [-Wformat=] main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 8 has type 'int*' [-Wformat=] main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 9 has type 'int*' [-Wformat=] main.cpp:54:85: warning: format '%lld' expects argument of type 'long long int*', but argument 10 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
12ms131kbIncorect0
23ms131kbIncorect0
33ms131kbIncorect0
45ms131kbIncorect0
56ms131kbIncorect0
63ms131kbIncorect0
712ms262kbIncorect0
89ms262kbIncorect0
911ms262kbIncorect0
103ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?