/ Vijos /

记录详情

Compile Error

foo.cpp:30: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:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp:30:1: error: stray '\221' in program
foo.cpp: In function 'const int getint()':
foo.cpp:30: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:95:36: warning: unknown conversion type character 'l' in format [-Wformat=]
  printf("%d\n%lld\n", ans1, ans2%MD);
                                    ^
foo.cpp:95:36: warning: too many arguments for format [-Wformat-extra-args]

信息

递交者
类型
递交
题目
P1892 树上的最大匹配
语言
C++
递交时间
2016-07-15 11:49:32
评测时间
2016-07-15 11:49:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes