QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#689596#9255. Python ProgramZhaoZiLongCompile Error//C++17757b2024-10-30 17:54:002024-10-30 17:54:01

Details

answer.code:1:13: error: stray ‘#’ in program
    1 | s = input() # ans = 0
      |             ^
answer.code:3:32: error: stray ‘#’ in program
    3 | s = input().strip().split('(') # for i in range(a,b,c) -> ['...range', 'a,b,c)']
      |                                ^
answer.code:3:60: warning: character constant too long for its type
    3 | s = input().strip().split('(') # for i in range(a,b,c) -> ['...range', 'a,b,c)']
      |                                                            ^~~~~~~~~~
answer.code:3:72: warning: character constant too long for its type
    3 | s = input().strip().split('(') # for i in range(a,b,c) -> ['...range', 'a,b,c)']
      |                                                                        ^~~~~~~~
answer.code:4:16: error: stray ‘#’ in program
    4 | s = s[-1][:-2] # 'a,b,c'
      |                ^
answer.code:4:18: warning: character constant too long for its type
    4 | s = s[-1][:-2] # 'a,b,c'
      |                  ^~~~~~~
answer.code:5:38: error: stray ‘#’ in program
    5 | outer = list(map(int, s.split(','))) # [a, b, c] ??????????????????
      |                                      ^
answer.code:11:16: error: stray ‘#’ in program
   11 | s = s[-1][:-2] # 'a,b,c'
      |                ^
answer.code:11:18: warning: character constant too long for its type
   11 | s = s[-1][:-2] # 'a,b,c'
      |                  ^~~~~~~
answer.code:16:7: error: invalid preprocessing directive #?
   16 |     # ?????????i, ??????????????
      |       ^
answer.code:1:1: error: ‘s’ does not name a type
    1 | s = input() # ans = 0
      | ^