记录详情

Compile Error

/in/foo.cc:5:6: error: 'h' does not name a type
      h,ih,b;
      ^
/in/foo.cc: In function 'void px()':
/in/foo.cc:13:17: error: 'struct js' has no member named 'h'
         m+=a[i].h;
                 ^
/in/foo.cc: In function 'void ss()':
/in/foo.cc:21:21: error: 'struct js' has no member named 'h'
             if(a[i].h>a[j].h)swap(a[i],a[j]);
                     ^
/in/foo.cc:21:28: error: 'struct js' has no member named 'h'
             if(a[i].h>a[j].h)swap(a[i],a[j]);
                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:14: error: 'struct js' has no member named 'b'
         a[i].b=i;
              ^
/in/foo.cc:29:19: error: 'struct js' has no member named 'h'
         cin>>a[i].h;
                   ^
/in/foo.cc:34:20: error: 'struct js' has no member named 'b'
         cout<<a[i].b;
                    ^

信息

递交者
类型
递交
题目
排队接水
题目数据
下载
语言
C++
递交时间
2019-08-09 21:42:34
评测时间
2020-07-10 11:55:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes