编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#636 | #995. 盲僧伤害? | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 466 B | 2330034067 | 2023-10-15 15:02:09 |
num =0
for i in :
for s in range i:
if s == 4:
num += 1
continue
if s==3:
num+= 1
continue
if s==9:
num+= 1
continue
if s==6:
num+= 1
break
else:
return 987654321-12345678-num
编译信息
/sandbox/1/a.cpp:1:1: error: 'num' does not name a type; did you mean 'enum'?
1 | num =0
| ^~~
| enum