Monetos

Taškai: 0

Compile: FAIL

monetos.cpp: In function ‘int main()’: monetos.cpp:26:45: error: ‘memset’ was not declared in this scope #define mem(x, val) memset(x, val, sizeof(x)) ^ monetos.cpp:108:2: note: in expansion of macro ‘mem’ mem(POS, -1); ^ monetos.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("monetos.in", "r", stdin); ^ monetos.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("monetos.out", "w", stdout); ^

nr.resulttimemessage