QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#325316#4830. Transfer of Dutyucup-team1626Compile Error//C++14832b2024-02-11 07:52:272024-02-11 07:52:27

詳細信息

answer.code: In function ‘long long int rng()’:
answer.code:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
   16 | }
      | ^
answer.code: At global scope:
answer.code:18:1: error: ‘map’ does not name a type
   18 | map <ll,int> mp;
      | ^~~
answer.code: In function ‘int main()’:
answer.code:29:9: error: ‘mp’ was not declared in this scope
   29 |         mp[val[i]] = i;
      |         ^~
answer.code:42:12: error: ‘mp’ was not declared in this scope
   42 |         if(mp.find(x) == mp.end()){
      |            ^~