编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#954 #995. 盲僧伤害? Wrong Answer 0 34 ms 2816 K Python 3 / 622 B t330034057 2023-10-15 15:30:30
for i in range (12345678,98765433):
    s=str(i)
    l = len(s)
    for j in range (0,5):
        if s[j]!= '4':
            count += 1
        elif s[j]=='4':
            for k in range (j,6):
                if s[k]!='3':
                    count += 1
                elif s[k]=='3':
                    for c in range(k,7):
                        if s[c]!='9':
                            count += 1
                        elif s[c]=='9':
                            for o in range (c,8):
                                if s[o]!= '6':
                                    count += 1
print (count)
子任务 #1
Wrong Answer
得分:0
测试点 #1
Wrong Answer
得分:0
用时:34 ms
内存:2816 KiB

输入文件(2.in

114514

答案文件(2.out

85948680

标准错误流

Traceback (most recent call last):
  File "/sandbox/2/a.py", line 6, in <module>
    count += 1
NameError: name 'count' is not defined

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 1