QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#483515#4832. Telepathyegypt_ioi2024b_05Compile Error//C++171.1kb2024-07-18 18:29:452024-07-18 18:29:46

詳細信息

answer.code: In function ‘void print(int)’:
answer.code:28:5: error: ‘s’ was not declared in this scope
   28 |     s.clear();while(i){s+=(i%10)+'0';i/=10;}
      |     ^
answer.code: In function ‘int main()’:
answer.code:42:62: error: expected ‘;’ before ‘}’ token
   42 |         print(i + f[bitset<N>(s.substr(i,N)).to_ulong()] + 1)
      |                                                              ^
      |                                                              ;
   43 |     }
      |     ~