foo.cpp:20:1: error: stray '\221' in program
inline const int getint() { int r=0, k=1; char c=getchar(); for(; c<‘0‘||c>‘9‘; c=getchar()) if(c==‘-‘) k=-1; for(; c>=‘0‘&&c<=‘9‘; c=getchar()) r=r*10+c-‘0‘; return k*r; }
^
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp:20:1: error: stray '\221' in program
foo.cpp: In function 'const int getint()':
foo.cpp:20:103: error: expected primary-expression before ')' token
inline const int getint() { int r=0, k=1; char c=getchar(); for(; c<‘0‘||c>‘9‘; c=getchar()) if(c==‘-‘) k=-1; for(; c>=‘0‘&&c<=‘9‘; c=getchar()) r=r*10+c-‘0‘; return k*r; }
^
foo.cpp: In function 'int main()':
foo.cpp:64:41: warning: unknown conversion type character 'l' in format [-Wformat=]
if(ans) printf("%lld/%lld", fm/d, ans/d);
^
foo.cpp:64:41: warning: unknown conversion type character 'l' in format [-Wformat=]
foo.cpp:64:41: warning: too many arguments for format [-Wformat-extra-args]