Borderou de evaluare (job #1899586)

Utilizator PinkiePie1189Preoteasa Mircea-Costin PinkiePie1189 Data 2 martie 2017 20:20:02
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%s", board[i][k]); ^ user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.in", "r", stdin); ^ user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.out", "w", stdout); ^ user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Load); ^ user.cpp:41:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", board[i][k]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1408kbIncorect0
20ms1432kbIncorect0
30ms1496kbIncorect0
40ms1592kbIncorect0
58ms1792kbIncorect0
612ms1892kbIncorect0
712ms1896kbIncorect0
812ms1892kbIncorect0
912ms1888kbIncorect0
1012ms1892kbIncorect0
Punctaj total0

Ceva nu functioneaza?