/ Vijos /

记录详情

Compile Error

/in/foo.cc: In member function 'bool Node::operator<(const Node&)':
/in/foo.cc:12:25: error: 'const struct Node' has no member named 'all'; did you mean 'All'?
    return this->All > b.all;
                         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:23: error: 'sort' was not declared in this scope
  sort(a + 1, a + n + 1);
                       ^
/in/foo.cc:27:23: note: suggested alternative:
In file included from /usr/include/c++/6/algorithm:62:0,
                 from /in/foo.cc:4:
/usr/include/c++/6/bits/stl_algo.h:4727:5: note:   'std::sort'
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~

信息

递交者
类型
递交
题目
P1398 奖学金
语言
C++
递交时间
2020-06-21 21:07:23
评测时间
2020-06-21 21:07:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes