Borderou de evaluare (job #2118182)

Utilizator KernelovicNegrean Victor Kernelovic Data 30 ianuarie 2018 11:37:18
Problema Joc10 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &n, &m); ^ user.cpp:15:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:21:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &mar[i][j]); ^ user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joc10.in", "r", stdin); ^ user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joc10.out", "w", stdout); ^ user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:21:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &mar[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1256kbTime limit exceeded.0
2Depăşit1252kbTime limit exceeded.0
3Depăşit1252kbTime limit exceeded.0
4Depăşit1252kbTime limit exceeded.0
5Depăşit1256kbTime limit exceeded.0
6Depăşit1256kbTime limit exceeded.0
7Depăşit1256kbTime limit exceeded.0
8Depăşit1256kbTime limit exceeded.0
9Depăşit1252kbTime limit exceeded.0
10Depăşit1252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?