记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:47:9: error: too few arguments to function 'void read(int&)'
  n=read(),m=read();
         ^
/in/foo.cc:7:13: note: declared here
 inline void read(int &v){
             ^~~~
/in/foo.cc:47:18: error: too few arguments to function 'void read(int&)'
  n=read(),m=read();
                  ^
/in/foo.cc:7:13: note: declared here
 inline void read(int &v){
             ^~~~
/in/foo.cc:51:14: error: too few arguments to function 'void read(int&)'
   int k=read(),a=read(),b=read();
              ^
/in/foo.cc:7:13: note: declared here
 inline void read(int &v){
             ^~~~
/in/foo.cc:52:27: error: 'b' was not declared in this scope
   if(k==0) change(1,1,n,a,b);
                           ^
/in/foo.cc:53:29: error: 'b' was not declared in this scope
    else myout(query(1,1,n,a,b)),putchar('\n');
                             ^

信息

递交者
类型
递交
题目
区间和
题目数据
下载
语言
C++
递交时间
2018-11-05 13:16:11
评测时间
2018-11-05 13:16:21
评测机
分数
0
总耗时
1238ms
峰值内存
132.812 MiB