QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#474269#3098. Ancient Machineegypt_ioi2024_01Compile Error//C++231.5kb2024-07-12 17:01:282024-07-12 17:01:28

详细

Anna.code: In function ‘void Anna(long long int, std::vector<char>)’:
Anna.code:18:18: error: ‘v’ was not declared in this scope
   18 |         }else if(v[i]=='Z'){
      |                  ^
Anna.code:29:9: error: ‘send’ was not declared in this scope; did you mean ‘Send’?
   29 |         send((nah[i])|(i==N-1?0:nah[i+1]));
      |         ^~~~
      |         Send
grader_Anna.cpp: In function ‘int main()’:
grader_Anna.cpp:67:16: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’
   67 |   for (int x : send_array)
      |                ^~~~~~~~~~
grader_Anna.cpp:67:16: error: forming reference to reference type ‘std::vector<int>&’