QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#233353#7635. Fairy Chessucup-team2108Compile Error//C++20225b2023-10-31 16:45:172023-10-31 16:45:18

詳細信息

answer.code:8:33: warning: missing terminating " character
    8 |     if(s=="BBAARRCCQQMM") cout<<"Bob<<'\n';
      |                                 ^
answer.code:8:33: error: missing terminating " character
    8 |     if(s=="BBAARRCCQQMM") cout<<"Bob<<'\n';
      |                                 ^~~~~~~~~~~
answer.code: In function ‘int main()’:
answer.code:7:10: error: ‘s’ was not declared in this scope
    7 |     cin>>s;
      |          ^
answer.code:9:5: error: expected primary-expression before ‘else’
    9 |     else cout<<"Alice"<<'\n';
      |     ^~~~