Skliaustai

Taškai: 0

Compile: FAIL

skliaustai.cpp: In function ‘int solve(int, int)’: skliaustai.cpp:44:13: error: ‘MAX’ was not declared in this scope if (ret > MAX) { ^ skliaustai.cpp: In function ‘int main()’: skliaustai.cpp:61:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("skliaustai.in", "r", stdin); ^ skliaustai.cpp:62:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("skliaustai.out", "w", stdout); ^

nr.resulttimemessage