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_39658", "problem_id": "2768", "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_39659", "problem_id": "1380", "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_39660", "problem_id": "2543", "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_39661", "problem_id": "785", "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_39662", "problem_id": "1490", "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_39663", "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_39664", "problem_id": "461", "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_39665", "problem_id": "654", "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_39666", "problem_id": "1160", "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_39667", "problem_id": "2971", "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_39668", "problem_id": "1125", "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_39669", "problem_id": "513", "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_39670", "problem_id": "2334", "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_39671", "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_39672", "problem_id": "1924", "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_39673", "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(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_39674", "problem_id": "1409", "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_39675", "problem_id": "1338", "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_39676", "problem_id": "2633", "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_39677", "problem_id": "921", "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_39678", "problem_id": "435", "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_39679", "problem_id": "2396", "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_39680", "problem_id": "762", "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_39681", "problem_id": "558", "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_39682", "problem_id": "2501", "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_39683", "problem_id": "35", "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_39684", "problem_id": "2553", "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_39685", "problem_id": "239", "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_39686", "problem_id": "1185", "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_39687", "problem_id": "1863", "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_39688", "problem_id": "2415", "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_39689", "problem_id": "2872", "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_39690", "problem_id": "2818", "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_39691", "problem_id": "2322", "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_39692", "problem_id": "1540", "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_39693", "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_39694", "problem_id": "1607", "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_39695", "problem_id": "897", "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_39696", "problem_id": "122", "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_39697", "problem_id": "1553", "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_39698", "problem_id": "325", "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_39699", "problem_id": "2775", "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_39700", "problem_id": "2524", "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_39701", "problem_id": "719", "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_39702", "problem_id": "538", "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_39703", "problem_id": "1992", "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_39704", "problem_id": "1632", "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_39705", "problem_id": "885", "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_39706", "problem_id": "1490", "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_39707", "problem_id": "1334", "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_39708", "problem_id": "18", "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_39709", "problem_id": "2981", "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_39710", "problem_id": "2769", "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_39711", "problem_id": "1585", "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_39712", "problem_id": "2755", "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_39713", "problem_id": "3082", "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_39714", "problem_id": "327", "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_39715", "problem_id": "31", "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_39716", "problem_id": "2416", "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_39717", "problem_id": "1037", "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_39718", "problem_id": "2703", "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_39719", "problem_id": "2424", "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_39720", "problem_id": "2274", "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_39721", "problem_id": "1720", "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_39722", "problem_id": "64", "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_39723", "problem_id": "2261", "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_39724", "problem_id": "471", "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_39725", "problem_id": "1995", "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_39726", "problem_id": "775", "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_39727", "problem_id": "404", "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_39728", "problem_id": "2961", "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_39729", "problem_id": "428", "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_39730", "problem_id": "1645", "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_39731", "problem_id": "447", "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_39732", "problem_id": "3009", "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_39733", "problem_id": "687", "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_39734", "problem_id": "259", "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_39735", "problem_id": "1623", "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_39736", "problem_id": "2577", "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_39737", "problem_id": "2119", "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_39738", "problem_id": "1542", "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_39739", "problem_id": "345", "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_39740", "problem_id": "748", "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_39741", "problem_id": "2866", "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_39742", "problem_id": "1705", "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_39743", "problem_id": "259", "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_39744", "problem_id": "1884", "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_39745", "problem_id": "36", "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_39746", "problem_id": "1253", "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_39747", "problem_id": "945", "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_39748", "problem_id": "1619", "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_39749", "problem_id": "1051", "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_39750", "problem_id": "479", "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_39751", "problem_id": "2511", "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_39752", "problem_id": "882", "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_39753", "problem_id": "3070", "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_39754", "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_39755", "problem_id": "277", "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_39756", "problem_id": "2244", "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_39757", "problem_id": "2150", "task_type": "tc_direct" }