/ Vijos /

记录详情

Compile Error

/in/foo.cc:84:5: warning: missing terminating " character
 ","r",stdin);
     ^
/in/foo.cc:84:5: error: missing terminating " character
 ","r",stdin);
     ^~~~~~~~~
/in/foo.cc: In function 'void update(int, int, int, int, int)':
/in/foo.cc:30:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'int qs(int, int, int, int, int)':
/in/foo.cc:39:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:84:1: error: unable to find string literal operator 'operator""r' with 'const char [2]', 'long unsigned int' arguments
 ","r",stdin);
 ^~~~
/in/foo.cc:90:17: error: 'x' was not declared in this scope
   scanf("%d%d",&x,&y);
                 ^
/in/foo.cc:90:20: error: 'y' was not declared in this scope
   scanf("%d%d",&x,&y);
                    ^
/in/foo.cc:98:16: error: 'x' was not declared in this scope
    scanf("%d",&x);A.tim=tot;A.op=0;
                ^
/in/foo.cc:103:16: error: 'x' was not declared in this scope
    scanf("%d",&x);A.tim=tot;A.op=1;A.id=cnt;
                ^

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2018-01-02 20:05:08
评测时间
2018-01-02 20:05:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes