记录详情

Compile Error

/in/foo.c:1:1: warning: data definition has no type or storage class
 n=input()
 ^
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
/in/foo.c:1:3: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
 n=input()
   ^~~~~
/in/foo.c:1:3: error: initializer element is not constant
/in/foo.c:2:1: error: expected ',' or ';' before 'for'
 for i in range(int(len(n)/2)+1):
 ^~~
/in/foo.c:3:15: warning: multi-character character constant [-Wmultichar]
     n.replace('()','')
               ^~~~
/in/foo.c:3:20: error: empty character constant
     n.replace('()','')
                    ^~
/in/foo.c:4:6: error: empty character constant
 if n='':
      ^~
/in/foo.c:5:11: warning: multi-character character constant [-Wmultichar]
     print('yes')
           ^~~~~
/in/foo.c:7:11: warning: multi-character character constant [-Wmultichar]
     print('no')
           ^~~~

信息

递交者
类型
递交
题目
1708括号检查
语言
C
递交时间
2020-12-27 13:33:53
评测时间
2020-12-27 13:33:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes