/ Vijos /

记录详情

Compile Error

foo.cc:2:19: error: expected ‘;’ before ‘using’
    2 | using ll=long long
      |                   ^
      |                   ;
    3 | using namespace std;
      | ~~~~~              
foo.cc: In function ‘void Init()’:
foo.cc:67:5: error: ‘sort’ was not declared in this scope; did you mean ‘std::sort’?
   67 |     sort(q, q + qn);
      |     ^~~~
      |     std::sort
In file included from /nix/gcc-13.2.0/include/c++/13.2.0/algorithm:61,
                 from stdc++.h:51:
/nix/gcc-13.2.0/include/c++/13.2.0/bits/stl_algo.h:4882:5: note: ‘std::sort’ declared here
 4882 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~
foo.cc: At global scope:
foo.cc:89:1: error: ‘queue’ does not name a type
   89 | queue<Node*> que;
      | ^~~~~
foo.cc: In function ‘void buildFail()’:
foo.cc:92:5: error: ‘que’ was not declared in this scope
   92 |     que.push(Rt);
      |     ^~~
正在同步测试数据,请稍后

信息

递交者
类型
递交
题目
P1720 阿狸的打字机
语言
C++
递交时间
2024-04-13 13:22:14
评测时间
2024-04-13 13:22:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes