Borderou de evaluare (job #1296555)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 21 decembrie 2014 12:15:47
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &A[0][i]); ^ user.cpp:28:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &x, &y); ^ user.cpp:28:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:14: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:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[0][i]); ^ user.cpp:28:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
20ms308kbIncorect0
3672ms580kbIncorect0
4612ms304kbIncorect0
512msDepăşitMemory limit exceeded.0
612msDepăşitMemory limit exceeded.0
712msDepăşitMemory limit exceeded.0
812msDepăşitMemory limit exceeded.0
916msDepăşitMemory limit exceeded.0
1012msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?