Borderou de evaluare (job #1898675)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 2 martie 2017 10:35:55
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:100:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf ("%1d", &a[i][j]); ^ user.cpp:94:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("insule.in", "r", stdin); ^ user.cpp:95:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("insule.out", "w", stdout); ^ user.cpp:97:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &N, &M); ^ user.cpp:100:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%1d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18msDepăşitMemory limit exceeded.0
20ms316kbOK!10
34msDepăşitMemory limit exceeded.0
44msDepăşitMemory limit exceeded.0
512msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
856msDepăşitMemory limit exceeded.0
936msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?