data_source
string
prompt
list
ability
string
reward_model
dict
extra_info
dict
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61658", "problem_id": "1399", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61659", "problem_id": "2643", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61660", "problem_id": "2419", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61661", "problem_id": "2268", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61662", "problem_id": "2742", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61663", "problem_id": "2288", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61664", "problem_id": "2485", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61665", "problem_id": "954", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61666", "problem_id": "1219", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61667", "problem_id": "1310", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61668", "problem_id": "2495", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61669", "problem_id": "1481", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61670", "problem_id": "2717", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61671", "problem_id": "1860", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61672", "problem_id": "492", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61673", "problem_id": "2185", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61674", "problem_id": "405", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61675", "problem_id": "1025", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61676", "problem_id": "2685", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61677", "problem_id": "593", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61678", "problem_id": "816", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61679", "problem_id": "2342", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61680", "problem_id": "2774", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61681", "problem_id": "1089", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61682", "problem_id": "337", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61683", "problem_id": "2482", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61684", "problem_id": "1891", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61685", "problem_id": "2426", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61686", "problem_id": "3027", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61687", "problem_id": "2019", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61688", "problem_id": "2422", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61689", "problem_id": "2251", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61690", "problem_id": "2160", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61691", "problem_id": "565", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61692", "problem_id": "1891", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61693", "problem_id": "1737", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61694", "problem_id": "2327", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61695", "problem_id": "699", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61696", "problem_id": "397", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61697", "problem_id": "1321", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61698", "problem_id": "2711", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61699", "problem_id": "1708", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61700", "problem_id": "2741", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61701", "problem_id": "1834", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61702", "problem_id": "786", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61703", "problem_id": "510", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61704", "problem_id": "1690", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61705", "problem_id": "2576", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61706", "problem_id": "1939", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61707", "problem_id": "668", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61708", "problem_id": "2421", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61709", "problem_id": "1031", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61710", "problem_id": "387", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61711", "problem_id": "1802", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61712", "problem_id": "1302", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61713", "problem_id": "676", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61714", "problem_id": "246", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61715", "problem_id": "881", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61716", "problem_id": "2531", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61717", "problem_id": "3094", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61718", "problem_id": "2871", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61719", "problem_id": "394", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61720", "problem_id": "715", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61721", "problem_id": "1176", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61722", "problem_id": "2603", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61723", "problem_id": "1383", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61724", "problem_id": "2754", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61725", "problem_id": "2735", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61726", "problem_id": "772", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61727", "problem_id": "1777", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61728", "problem_id": "623", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61729", "problem_id": "895", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61730", "problem_id": "1087", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61731", "problem_id": "1642", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61732", "problem_id": "2691", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61733", "problem_id": "60", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61734", "problem_id": "1236", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61735", "problem_id": "821", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61736", "problem_id": "2685", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61737", "problem_id": "451", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61738", "problem_id": "104", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61739", "problem_id": "2455", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61740", "problem_id": "1344", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61741", "problem_id": "583", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61742", "problem_id": "37", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61743", "problem_id": "2469", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61744", "problem_id": "2621", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61745", "problem_id": "2549", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61746", "problem_id": "1246", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61747", "problem_id": "1236", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61748", "problem_id": "219", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61749", "problem_id": "2291", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61750", "problem_id": "759", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61751", "problem_id": "149", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61752", "problem_id": "791", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61753", "problem_id": "1880", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61754", "problem_id": "2136", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61755", "problem_id": "703", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61756", "problem_id": "2217", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61757", "problem_id": "2731", "task_type": "tc_direct" }