Borderou de evaluare (job #2241839)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 17 septembrie 2018 10:05:03
Problema Badea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:317:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m1[i][j]); ^ user.cpp:324:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m2[i][j]); ^ user.cpp:331:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m3[i][j]); ^ user.cpp:338:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m4[i][j]); ^ user.cpp:345:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m5[i][j]); ^ user.cpp:351:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m6[i][j]); ^ user.cpp:358:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m7[i][j]); ^ user.cpp:365:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m8[i][j]); ^ user.cpp:372:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m9[i][j]); ^ user.cpp:379:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] printf("%d",&m10[i][j]); ^ user.cpp:309:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("badea.in","r",stdin); ^ user.cpp:310:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("badea.out","w",stdout); ^ user.cpp:312:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms856kbNepot inexistent0
20ms756kbNepot inexistent0
30ms752kbNepot inexistent0
40ms804kbNepot inexistent0
50ms876kbNepot inexistent0
60ms756kbNepot inexistent0
70ms792kbNepot inexistent0
80ms756kbNepot inexistent0
90ms756kbNepot inexistent0
100ms796kbNepot inexistent0
Punctaj total0

Ceva nu functioneaza?