QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#701743#5250. Combination LocksZhaoZiLongCompile Error//C++20799b2024-11-02 14:38:472024-11-02 14:38:53

Details

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 = '=', '.'
      | ^