Datasets:
Unnamed: 0 int64 0 48.6k | userId int64 2 2.38k | name stringclasses 68
values | questionId int64 28 28.9k | question stringclasses 89
values | answer_preload stringclasses 54
values | exceptedAnswer stringclasses 117
values | attemptId int64 85 185k | state stringclasses 3
values | studentAnswer stringlengths 1 3.39k | testOutcome stringlengths 477 40.6k | attemptstepid int64 238 770k | status int64 1 4 | R_errorcount int64 0 8 | R_traceback stringlengths 8 8k | R_errortype stringclasses 14
values | C_errormessage stringlengths 8 927 | C_errortype stringclasses 5
values | all_errortype stringclasses 18
values | all_errortype2 stringclasses 19
values | error_category stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 245 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print(num_students)
NameError: name 'num_students' is not defined
" | NameError | No error | No error | NameError | NameError | error |
1 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students
num_students=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:107:" File "__tester__.python3", line 2
def num_students
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sou... | 4,350 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
2 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students
num_students=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:107:" File "__tester__.python3", line 2
def num_students
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sou... | 4,351 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
3 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students(a))
a=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:114:" File "__tester__.python3", line 2
def num_students(a))
^
SyntaxError: unmatched ')'
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:... | 4,374 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students(a))
^
SyntaxError: unmatched ')'
| SyntaxError | SyntaxError | SyntaxError | error |
4 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students(a))
a=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:114:" File "__tester__.python3", line 2
def num_students(a))
^
SyntaxError: unmatched ')'
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:... | 4,376 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students(a))
^
SyntaxError: unmatched ')'
| SyntaxError | SyntaxError | SyntaxError | error |
5 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students(a)
a=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:113:" File "__tester__.python3", line 2
def num_students(a)
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:1... | 4,377 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students(a)
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
6 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students(a)
a=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:113:" File "__tester__.python3", line 2
def num_students(a)
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:1... | 4,378 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students(a)
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
7 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
a=num_students
num_students=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,441 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 2, in <module>
a=num_students
NameError: name 'num_students' is not defined
" | NameError | No error | No error | NameError | NameError | error |
8 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
num_students=x
x=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,466 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 2, in <module>
num_students=x
NameError: name 'x' is not defined
" | NameError | No error | No error | NameError | NameError | error |
9 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
num_students=x
x="100"
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,605 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 2, in <module>
num_students=x
NameError: name 'x' is not defined
" | NameError | No error | No error | NameError | NameError | error |
10 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | # 在这里补全代码
def num_students=x
x="100"
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:110:" File "__tester__.python3", line 2
def num_students=x
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"... | 4,663 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
def num_students=x
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
11 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | num_students = x
x="100"
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,695 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 1, in <module>
num_students = x
NameError: name 'x' is not defined
" | NameError | No error | No error | NameError | NameError | error |
12 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | num_students = ("a")
a=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,718 | 1 | 1 | No error | No error | No error | No error | No error | LogicError | error |
13 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | num_students = ("a")
100=a
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:91:" File "__tester__.python3", line 2
100=a
^
SyntaxError: cannot assign to literal
";s:11:"maxpossmark";d:1;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sourcecodelist";N;s:... | 4,719 | 2 | 0 | No error | No error | File "__tester__.python3", line 2
100=a
^
SyntaxError: cannot assign to literal
| SyntaxError | SyntaxError | SyntaxError | error |
14 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | todo | a= ("num_students ")
a=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,720 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print(num_students)
NameError: name 'num_students' is not defined
" | NameError | No error | No error | NameError | NameError | error |
15 | 42 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 85 | complete | a= ("num_students ")
num_students=100
print(num_students)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:1;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 4,721 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
16 | 42 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 87 | todo | num_yuan = int(input("请输入所有元的和"))
num_jiao = int(input("请输入所有角的和"))
num_coins=num_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 4,811 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
17 | 42 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 87 | todo | num_yuan = int(input("5"))
num_jiao = int(input("6"))
num_coins=num_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 4,847 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
18 | 42 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 87 | todo | num_yuan = int(input("请输入所有元的和"))
num_jiao = int(input("请输入所有角的和"))
num_coins=num_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 4,930 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
19 | 42 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 87 | complete | num_yuan = int(input())
num_jiao = int(input())
num_coins=num_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 8,966 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
20 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = int(input("请输入karma的数量"))
karma= karma + 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:5;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:0;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,981 | 1 | 5 | No error | No error | No error | No error | No error | LogicError | error |
21 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = int(input("请输入karma的数量"))
karma= karma + 1
print(karma)
10 | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:5;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:0;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,986 | 1 | 5 | No error | No error | No error | No error | No error | LogicError | error |
22 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 5
karma= karma + 1
print(karma)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:5;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:0;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,993 | 1 | 5 | No error | No error | No error | No error | No error | LogicError | error |
23 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 10
karma= karma + 1
print(karma)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:4;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:1;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,994 | 1 | 4 | No error | No error | No error | No error | No error | LogicError | error |
24 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 2
karma= karma + 1
print(karma)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:5;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:0;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,997 | 1 | 5 | No error | No error | No error | No error | No error | LogicError | error |
25 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 10
karma= karma + 1
print(karma)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:4;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:1;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,998 | 1 | 4 | No error | No error | No error | No error | No error | LogicError | error |
26 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 11
karma= karma + 1
print(karma)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:4;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:1;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 4,999 | 1 | 4 | No error | No error | No error | No error | No error | LogicError | error |
27 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 11
karma= karma + 1
print(karma)
karma = 12
karma= karma + 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:5;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:0;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 5,000 | 1 | 5 | No error | No error | No error | No error | No error | LogicError | error |
28 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = int(input("请输入karma的数量"))
karma= karma + 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:5;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:0;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 5,001 | 1 | 5 | No error | No error | No error | No error | No error | LogicError | error |
29 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | todo | karma = 10
karma= karma + 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:4;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:1;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 8,963 | 1 | 4 | No error | No error | No error | No error | No error | LogicError | error |
30 | 42 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 91 | complete | karma = int(input())
karma= karma + 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:5;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 8,964 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
31 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is " + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,007 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print("my age is " + age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
32 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is " + "age") | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,020 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
33 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is " + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,022 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print("my age is " + age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
34 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print(" my age is " + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,024 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print(" my age is " + age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
35 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print(int( my age is ) + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:119:" File "__tester__.python3", line 3
print(int( my age is ) + age)
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:2;s:10:"actualmark";i:0;s:11:"testresults";a:0... | 9,026 | 2 | 0 | No error | No error | File "__tester__.python3", line 3
print(int( my age is ) + age)
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
36 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is " + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,027 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print("my age is " + age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
37 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is" + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,034 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print("my age is" + age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
38 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("myageis" + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,037 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print("myageis" + age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
39 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print(int(myageis) + age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,039 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print(int(myageis) + age)
NameError: name 'myageis' is not defined
" | NameError | No error | No error | NameError | NameError | error |
40 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print(int((my age is) + age)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:120:" File "__tester__.python3", line 3
print(int((my age is) + age))
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:2;s:10:"actualmark";i:0;s:11:"testresults";a:... | 9,041 | 2 | 0 | No error | No error | File "__tester__.python3", line 3
print(int((my age is) + age))
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
41 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print(age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,067 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
42 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("myageis"+age) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,084 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 3, in <module>
print("myageis"+age)
TypeError: can only concatenate str (not "int") to str
" | TypeError | No error | No error | TypeError | TypeError | error |
43 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is"+str(age)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,085 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
44 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | todo | age = int(input())
print("my age is"+ str(age)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,086 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
45 | 42 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 97 | complete | age = int(input())
print("my age is"+" " + str(age)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 9,087 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
46 | 42 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 98 | todo | x = int(input())
y = int(input())
# 在此处补全代码
print(x/y)
print(x/y/y)
print(x/y/y) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:3;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:3;s:10:"actualmark";d:0;s:11:"testresults";a:3:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"30";s:10:"questionid";s:2:"46";s:8:"testtype";s:1:"0";s:8:"te... | 9,113 | 1 | 3 | No error | No error | No error | No error | No error | LogicError | error |
47 | 42 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 98 | complete | x = int(input())
y = int(input())
# 在此处补全代码
print(x/y)
print(x/y/y)
print(x/y/y/y) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:3;s:10:"actualmark";d:3;s:11:"testresults";a:3:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"30";s:10:"questionid";s:2:"46";s:8:"testtype";s:1:"0";s:8:"te... | 9,129 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
48 | 42 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 99 | todo | x = int(input())
y = int(input())
# 在此处补全代码
print(int((x/y))
print(int(x/y/y))
print(int((x/y/y/y)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:93:" File "__tester__.python3", line 6
print(int(x/y/y))
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:2;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sourcecodelist";N;... | 9,131 | 2 | 0 | No error | No error | File "__tester__.python3", line 6
print(int(x/y/y))
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
49 | 42 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 99 | todo | x = int(input())
y = int(input())
# 在此处补全代码
print int((x/y)
print(int(x/y/y))
print(int((x/y/y/y)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:97:" File "__tester__.python3", line 5
print int((x/y)
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:2;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sourcecodelist... | 9,135 | 2 | 0 | No error | No error | File "__tester__.python3", line 5
print int((x/y)
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
50 | 42 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 99 | todo | x = int(input())
y = int(input())
# 在此处补全代码
print(int((x/y))
print(int(x/y/y))
print(int((x/y/y/y)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:93:" File "__tester__.python3", line 6
print(int(x/y/y))
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:2;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sourcecodelist";N;... | 9,142 | 2 | 0 | No error | No error | File "__tester__.python3", line 6
print(int(x/y/y))
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
51 | 42 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 99 | todo | x = int(input())
y = int(input())
# 在此处补全代码
print(int((x/y))
print(int(x/y/y))
print(int(x/y/y/y)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:93:" File "__tester__.python3", line 6
print(int(x/y/y))
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:2;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:14:"sourcecodelist";N;... | 9,143 | 2 | 0 | No error | No error | File "__tester__.python3", line 6
print(int(x/y/y))
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
52 | 42 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 99 | complete | x = int(input())
y = int(input())
# 在此处补全代码
print(int(x/y))
print(int(x/y/y))
print(int(x/y/y/y)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"33";s:10:"questionid";s:2:"47";s:8:"testtype";s:1:"0";s:8:"te... | 9,144 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
53 | 42 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 100 | complete | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
calories_burned=(((age*0.2757+weight*0.03295+heart_rate*1.0781)-75.4991)*time/8.368)
print(calories_burned) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 9,286 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
54 | 49 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 101 | complete | # 在这里补全代码
num_students = 100
print(num_students) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:1;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 238 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
55 | 49 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 103 | todo | num_yuan = int(input())
num_jiao = int(input())
num_coins = 10*number_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 295 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 4, in <module>
num_coins = 10*number_yuan+num_jiao
NameError: name 'number_yuan' is not defined
" | NameError | No error | No error | NameError | NameError | error |
56 | 49 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 103 | todo | num_yuan = int(input())
num_jiao = int(input())
num_coins = 10*num_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 305 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
57 | 49 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 103 | complete | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 312 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
58 | 49 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 107 | complete | karma = int(input())
karma = karma + 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:5;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 355 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
59 | 49 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 113 | todo | age = int(input())
print("my age is " + 'age') | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 364 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
60 | 49 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 113 | complete | age = int(input())
print("my age is " +str(age) ) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 365 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
61 | 49 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 114 | todo | x = int(input())
y = int(input())
for i in range(1,4)
y = x / y
print(y) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:2;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:113:" File "__tester__.python3", line 3
for i in range(1,4)
^
SyntaxError: invalid syntax
";s:11:"maxpossmark";d:3;s:10:"actualmark";i:0;s:11:"testresults";a:0:{}s:1... | 385 | 2 | 0 | No error | No error | File "__tester__.python3", line 3
for i in range(1,4)
^
SyntaxError: invalid syntax
| SyntaxError | SyntaxError | SyntaxError | error |
62 | 49 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 114 | todo | x = int(input())
y = int(input())
for i in range(1,4):
y = x / y
print(y) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:3;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:3;s:10:"actualmark";d:0;s:11:"testresults";a:3:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"30";s:10:"questionid";s:2:"46";s:8:"testtype";s:1:"0";s:8:"te... | 387 | 1 | 3 | No error | No error | No error | No error | No error | LogicError | error |
63 | 49 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 114 | complete | x = int(input())
y = int(input())
x = x / y
print(x)
x = x / y
print(x)
x = x / y
print(x) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:3;s:10:"actualmark";d:3;s:11:"testresults";a:3:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"30";s:10:"questionid";s:2:"46";s:8:"testtype";s:1:"0";s:8:"te... | 1,144 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
64 | 49 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 115 | complete | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"33";s:10:"questionid";s:2:"47";s:8:"testtype";s:1:"0";s:8:"te... | 1,145 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
65 | 49 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 116 | complete | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned=(0.2757 * age + 0.03295 * weight + 1.0781 * heart_rate - 75.4991) * time / 8.368
print(calories_burned) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 1,154 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
66 | 60 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 117 | complete | # 在这里补全代码
num_students=100
print(num_students) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:1;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 264 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
67 | 60 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 119 | todo | num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
num_coins=num_yuan+0.1*num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 284 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
68 | 60 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 119 | complete | num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
num_coins=num_yuan+num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 285 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
69 | 60 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 123 | complete | karma = int(input())
# 在这里填写代码
karma=karma+1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:5;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 311 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
70 | 60 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 129 | complete | age = int(input())
print("my age is " + str(age)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 325 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
71 | 60 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 130 | complete | x = int(input())
y = int(input())
# 在此处补全代码
print(x/y)
print(x/y/y)
print(x/y/y/y) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:3;s:10:"actualmark";d:3;s:11:"testresults";a:3:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"30";s:10:"questionid";s:2:"46";s:8:"testtype";s:1:"0";s:8:"te... | 358 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
72 | 60 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 131 | complete | x = int(input())
y = int(input())
# 在此处补全代码
print(x//y)
print(x//y//y)
print(x//y//y//y) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"33";s:10:"questionid";s:2:"47";s:8:"testtype";s:1:"0";s:8:"te... | 388 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
73 | 60 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 132 | todo | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
calories_burned=0.2757*age+0.03295*weight+1.0781*heeart_rate
calories_burned=(calories_burned-75.4977)*time/8.368
print(calories_burned)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 404 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 7, in <module>
calories_burned=0.2757*age+0.03295*weight+1.0781*heeart_rate
NameError: name 'heeart_rate' is not defined
" | NameError | No error | No error | NameError | NameError | error |
74 | 60 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 132 | todo | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
calories_burned=0.2757*age+0.03295*weight+1.0781*heart_rate
calories_burned=(calories_burned-75.4977)*time/8.368
print(calories_burned)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 405 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
75 | 60 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 132 | complete | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
calories_burned=0.2757*age+0.03295*weight+1.0781*heart_rate
calories_burned=(calories_burned-75.4991)*time/8.368
print(calories_burned)
| O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 413 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
76 | 41 | 定义变量 | 28 | 定义一个叫做 num_students 的变量,并将它的值设置为100. | # 在这里补全代码
print(num_students) | num_students = 100
print(num_students) | 133 | complete | num_students = 100
print(num_students) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:1;s:10:"actualmark";d:1;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"12";s:10:"questionid";s:2:"28";s:8:"testtype";s:1:"0";s:8:"te... | 806 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
77 | 41 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 135 | todo | num_yuan = int(input())
num_jiao = int(input())
print(num_yuan)
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:1;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:1:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 785 | 1 | 1 | ***运行错误***
Traceback (most recent call last):
File "__tester__.python3", line 5, in <module>
print(num_coins)
NameError: name 'num_coins' is not defined
" | NameError | No error | No error | NameError | NameError | error |
78 | 41 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 135 | todo | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_yuan)
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 804 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
79 | 41 | 硬币数 | 29 | 补全以下代码,将所有种类硬币的和打印出来。
| num_yuan = int(input())
num_jiao = int(input())
# 在这里填写代码
print(num_coins) | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | 135 | complete | num_yuan = int(input())
num_jiao = int(input())
num_coins = num_yuan + num_jiao
print(num_coins) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"13";s:10:"questionid";s:2:"29";s:8:"testtype";s:1:"0";s:8:"te... | 805 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
80 | 41 | 加法 | 30 | 写一行代码,将 功德 (karma) 加一。
如:
karma = 5
则输出
6
| karma = int(input())
# 在这里填写代码
print(karma) | karma = int(input())
karma = karma + 1
print(karma) | 139 | complete | karma = int(input())
karma += 1
print(karma) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:5;s:10:"actualmark";d:5;s:11:"testresults";a:5:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"15";s:10:"questionid";s:2:"30";s:8:"testtype";s:1:"0";s:8:"te... | 783 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
81 | 41 | debug类型1 | 43 | 请改正以下代码中的错误
| age = int(input())
print("my age is " + age) | age = int(input())
print("my age is " + str(age)) | 145 | complete | age = int(input())
print("my age is " + str(age)) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"22";s:10:"questionid";s:2:"43";s:8:"testtype";s:1:"0";s:8:"te... | 781 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
82 | 41 | LAB1.0 | 46 | 补全以下代码,使其打印x被y除三次,并打印每次的结果。
如:
x = 8
y = 2
则输出:
4.0
2.0
1.0
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x /= y
print(x)
x /= y
print(x)
x /= y
print(x) | 146 | complete | x = int(input())
y = int(input())
# 在此处补全代码
i = x/y
x = i/y
j = x/y
print(i)
print(x)
print(j) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:3;s:10:"actualmark";d:3;s:11:"testresults";a:3:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"30";s:10:"questionid";s:2:"46";s:8:"testtype";s:1:"0";s:8:"te... | 778 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
83 | 41 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 147 | todo | x = int(input())
y = int(input())
# 在此处补全代码
i = x//y
x = i//y
j = x//y
print(i,x,j) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"33";s:10:"questionid";s:2:"47";s:8:"testtype";s:1:"0";s:8:"te... | 758 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
84 | 41 | LAB1.1 | 47 | 补全以下代码,使其打印x被y整除三次,并打印每次的结果。
如:
x = 9
y = 2
则输出:
4
2
1
| x = int(input())
y = int(input())
# 在此处补全代码 | x = int(input())
y = int(input())
x = x // y
print(x)
x = x // y
print(x)
x = x // y
print(x) | 147 | complete | x = int(input())
y = int(input())
# 在此处补全代码
i = x//y
x = i//y
j = x//y
print(i)
print(x)
print(j) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"33";s:10:"questionid";s:2:"47";s:8:"testtype";s:1:"0";s:8:"te... | 777 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
85 | 41 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 148 | todo | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = sum([age*0.2757,weight*0.03295,heart_rate*1.0781])- 75.4991 * time // 8.368
print(calories_burned) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:2;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:0;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 721 | 1 | 2 | No error | No error | No error | No error | No error | LogicError | error |
86 | 41 | LAB1.2 | 48 | 运动中消耗的卡路里是以下几项的和 减去75.4991 乘以时间 再除以 8.368:
年龄的0.2757倍 体重的0.03295倍 心率的1.0781倍
补全下列代码,给定了年龄,体重,心率,时间,计算出卡路里的消耗量
| age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
# 在此处补全代码
print(calories_burned) | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = ((age * 0.2757) + (weight * 0.03295) + (heart_rate * 1.0781) - 75.4991) * time / 8.368
print(calories_burned) | 148 | complete | age = int(input())
weight = int(input())
heart_rate = int(input())
time = int(int(input()))
calories_burned = (sum([age*0.2757,weight*0.03295,heart_rate*1.0781])- 75.4991) * time / 8.368
print(calories_burned) | O:32:"qtype_coderunner_testing_outcome":11:{s:6:"status";i:1;s:10:"isprecheck";b:0;s:10:"errorcount";i:0;s:12:"errormessage";s:0:"";s:11:"maxpossmark";d:2;s:10:"actualmark";d:2;s:11:"testresults";a:2:{i:0;O:28:"qtype_coderunner_test_result":14:{s:2:"id";s:2:"35";s:10:"questionid";s:2:"48";s:8:"testtype";s:1:"0";s:8:"te... | 757 | 1 | 0 | No error | No error | No error | No error | No error | No error | no_error |
Dataset Card for PyMETA
Dataset Summary
PyMETA (Python Multi-Error TAxonomy) is a large-scale benchmark for hierarchical student code error classification. It contains 48,646 real Python code submissions from 579 users on 153 question IDs (75 distinct problems; several problems were reused across course offerings under different IDs), collected from the Circle Cat online learning platform. Every submission has a single-error label derived from Online Judge execution output, organized under a three-level hierarchical taxonomy (binary → three-class → 14 fine-grained error types grounded in Python's official exception hierarchy).
An expert-annotated multi-error diagnostic subset of 97 samples (13 error types) is
provided in the GitHub repository for studying
co-occurring errors; metadata/multi_error_subset_97_ids.csv in this repository locates
those samples by attemptstepid.
Supported Tasks
- Task A — Binary classification:
No Errorvs.Error. - Task B — Three-class classification:
No Error/Logic Error/Explicit Error. - Task C — Multi-class classification: 14 fine-grained error types.
- Multi-error classification (on the 97-sample subset): identify all concurrent errors in a submission.
Languages
Student code is Python. Problem descriptions are primarily in Chinese (zh); the
evaluation prompts are in English (en).
How to use
from datasets import load_dataset
ds = load_dataset("CircleCat/pymeta") # v2.0: question-ID split (this card)
ds_v1 = load_dataset("CircleCat/pymeta", revision="v1.0") # v1.0: original random split
# Build the labels for Tasks A/B/C from the label columns
LABEL_IDS = {
"No error": 0, "LogicError": 1, "SyntaxError": 2, "NameError": 3, "TypeError": 4,
"IndentationError": 5, "UnboundLocalError": 6, "KeyError": 7, "IndexError": 8,
"EOFError": 9, "RecursionError": 10, "ValueError": 11, "TabError": 12,
} # any other value -> 13 (Other Errors)
def add_labels(ex):
c = LABEL_IDS.get(ex["all_errortype2"], 13)
return {"task_a": int(c != 0), "task_b": 0 if c == 0 else (1 if c == 1 else 2), "task_c": c}
ds = ds.map(add_labels)
When showing a problem to a model, combine question with answer_preload: many
descriptions refer to "the code below" (以下代码), and that code is the starter code in
answer_preload, not part of question.
Dataset Structure
Data Fields
| Field | Type | Description |
|---|---|---|
Unnamed: 0 |
int | Row index in the original full dataset (0–48,645); unique and stable across versions. |
userId |
int | Numeric identifier of the student. |
name |
string | Lesson / quiz name in the course (71 values, e.g. 循环LAB3). |
questionId |
int | Question identifier (153 values). Some problems appear under several IDs; see metadata/question_groups.csv. |
question |
string | Problem description as shown to students. Does not include the starter code (see answer_preload). |
answer_preload |
string | New in v2.0. Starter code pre-filled in the student's code editor when the question was opened (CodeRunner answer preload): input-reading scaffolds, fill-in-the-blank skeletons, or buggy code to fix for debugging questions. Empty (loaded as None) for the 26 questions without starter code. |
exceptedAnswer |
string | Reference solution (column name kept from v1.0). |
attemptId |
int | Question-attempt identifier; one attempt can contain several submissions (rows). |
state |
string | Platform state of the submission step: todo, complete, or invalid. |
studentAnswer |
string | The student's full submitted code. Because the editor starts with the starter code, this usually already contains answer_preload (possibly edited by the student). Uses \r\n line endings, while answer_preload uses \n. |
testOutcome |
string | Raw Online Judge (CodeRunner) testing outcome, PHP-serialized: per-test results, marks and error messages. |
attemptstepid |
int | Submission (attempt-step) identifier; unique per row across all splits and versions. |
status |
int | Judge status: 1 code ran, 2 compile-time error, 4 sandbox error (code was not executed). |
R_errorcount |
int | Number of failed test cases. |
R_traceback |
string | Runtime traceback (No error if none). |
R_errortype |
string | Runtime exception type (No error if none). |
C_errormessage |
string | Compile-time error message (No error if none). |
C_errortype |
string | Compile-time error type: SyntaxError, IndentationError, TabError, SyntaxWarning, or No error. |
all_errortype |
string | Exception type from either stage (C_errortype if present, otherwise R_errortype). Code that runs without an exception but fails tests is No error here. |
all_errortype2 |
string | Source of the Task B/C labels. Same as all_errortype, except that submissions which raise no exception but fail at least one test are LogicError. The six rare types (AttributeError, RuntimeError, SyntaxWarning, ZeroDivisionError, MemoryError, ModuleNotFoundError; 178 rows) form Other Errors. |
error_category |
string | Task A label: error / no_error. |
Taxonomy (label IDs)
0 No Error · 1 Logic Error · 2 Syntax Error · 3 Name Error · 4 Type Error ·
5 Indentation Error · 6 Unbound Local Error · 7 Key Error · 8 Index Error ·
9 EOF Error · 10 Recursion Error · 11 Value Error · 12 Tab Error ·
13 Other Errors. Task B groups IDs 2–13 as Explicit Error. Full definitions and
per-class counts are in the
GitHub TAXONOMY.md.
Data Splits
| Split | Examples | Question IDs | Error rate |
|---|---|---|---|
| train | 38,918 | 133 | 49.1% |
| validation | 4,863 | 11 | 61.4% |
| test | 4,865 | 9 | 69.0% |
| total | 48,646 | 153 | 52.3% |
Since v2.0 the splits are made at the question-ID level: no questionId and no
attemptId appears in more than one split. All 14 Task C classes occur in test; the
validation split has no KeyError samples. Label distributions differ between splits.
Note that the course reused some problems under several question IDs (153 IDs correspond to
75 distinct problems, matched by identical description or reference solution). As a result,
all 9 test question IDs and 7 of the 11 validation question IDs have a duplicate problem in
train (100% of test rows, 82.7% of validation rows), and most students appear in every
split. This does not affect zero-shot prompting evaluation, but matters for models trained
on train. For problem-disjoint experiments, re-split using the problem_group column of
metadata/question_groups.csv.
Metadata files
metadata/question_groups.csv:questionId→problem_group(75 groups), with each ID's split, row count and lesson name.metadata/multi_error_subset_97_ids.csv: the 97 expert-annotated multi-error samples with theirattemptstepid,questionId,attemptId,userId, gold single label, annotated labels, and v2.0 split (74 train, 6 validation, 17 test).Sample_Indexis the original position in the v1.0 test split, as used by the GitHub scripts.
Known Issues
These come from the original course material or the judge and are documented rather than changed, so that every row's content and labels are identical to v1.0.
- Questions 215, 241 (train) and 519 (validation), 134 rows:
questionandexceptedAnswerask forscore_dict/status_dict, whileanswer_preloadand almost all student answers printmy_dict[test_param]. The problem appears to have been edited during the course; the description and reference solution reflect a later version than the one students solved. - Question 236 (train, 74 rows): the starter code uses
input().split(''), which always raisesValueError: empty separator. 23 rows labelledValueErrorcome from this starter-code line rather than from student-written code. - Question 2923 (test, 17 rows): the example outputs in the description (
2for1 2 3,7for6 7 8) contradict the explanations and the reference solution, which compute the sum (6,21). - Sandbox errors (5 rows in train,
status == 4,state == invalid): the code was not executed because the judge sandbox was unavailable, but the rows are labelledNo error(attemptstepid39969, 234690, 234936, 234945, 235723). - Formatting artifacts in
question: 9 descriptions contain hint text rendered with combining strikethrough characters (U+0336), and a few contain leftover HTML artifacts such as or code-block line numbers.
Source Data
Submissions were collected from historical logs of the Circle Cat online learning platform (a self-hosted Moodle instance with an integrated Online Judge). They were generated organically by learners of varying proficiency during ordinary coursework, so they provide a realistic and diverse distribution of student code errors.
Personal and Sensitive Information
The data were collected from pre-existing educational records under the platform's terms
of use (which inform users that anonymized data may be used for educational and research
purposes), with no recruitment or experimental intervention. The dataset contains no
names, e-mail addresses or other direct identifiers; students appear only as numeric
userIds. The dataset contains no offensive content.
Versions
- v2.0 (current): question-ID-level re-split (made in February 2026 in response to
review); added the
answer_preloadcolumn and themetadata/files; documented all columns, the label derivation and known issues. Row contents are identical to v1.0; only the split assignment changed. - v1.0 (tag
v1.0, commit2279d02): random submission-level split stratified byerror_category(39,402 / 4,379 / 4,865).
Licensing Information
Released under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
Citation
@inproceedings{
tang2026pymeta,
title={Py{META}: Evaluating Student Code Diagnosis on and Beyond the First Execution Error},
author={Ziqi Tang and Chuyue Li and Jingyi Wang and Yu Wu and Kazuma Hashimoto and Lingyu Gao},
booktitle={NeurIPS 2026 Trust-AI-Eval Workshop},
year={2026},
url={https://openreview.net/forum?id=Fz4nqncIlh}
}
- Downloads last month
- 189