QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#634927#5513. Advertisement 2ZhaoZiLongCompile Error//C++17779b2024-10-12 18:22:092024-10-12 18:22:09

详细

answer.code: In function ‘int main()’:
answer.code:62:20: error: expected primary-expression before ‘?’ token
   62 |         cout<<ans<<? ?;
      |                    ^
answer.code:62:22: error: expected primary-expression before ‘?’ token
   62 |         cout<<ans<<? ?;
      |                      ^
answer.code:62:23: error: expected primary-expression before ‘;’ token
   62 |         cout<<ans<<? ?;
      |                       ^
answer.code:62:23: error: expected ‘:’ before ‘;’ token
   62 |         cout<<ans<<? ?;
      |                       ^
      |                       :
answer.code:62:23: error: expected primary-expression before ‘;’ token
answer.code:62:23: error: expected ‘:’ before ‘;’ token
   62 |         cout<<ans<<? ?;
      |                       ^
      |                       :
answer.code:62:23: error: expected primary-expression before ‘;’ token