/in/foo.cc:31:8: warning: multi-character character constant [-Wmultichar]
printf('%d',ans);
^~~~
/in/foo.cc:1:1: error: 'include' does not name a type
include <algorithm>
^~~~~~~
/in/foo.cc:4:14: error: 'std::min' has not been declared
using std :: min;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:16: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
printf('%d',ans);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /in/foo.cc:2:
/usr/include/stdio.h:364:12: note: initializing argument 1 of 'int printf(const char*, ...)'
extern int printf (const char *__restrict __format, ...);
^~~~~~