QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#701743#5250. Combination LocksZhaoZiLongCompile Error//C++20799b2024-11-02 14:38:472024-11-02 14:38:53

詳細信息

answer.code:22:17: error: empty character constant
   22 |     i = g.index(''.join((Z if x == y else O) for x, y in zip(a, b)))
      |                 ^~
answer.code:1:1: error: ‘Z’ does not name a type
    1 | Z, O = '=', '.'
      | ^