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_30958", "problem_id": "275", "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_30959", "problem_id": "482", "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_30960", "problem_id": "2637", "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_30961", "problem_id": "1233", "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_30962", "problem_id": "1389", "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_30963", "problem_id": "2900", "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_30964", "problem_id": "1937", "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_30965", "problem_id": "178", "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_30966", "problem_id": "61", "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_30967", "problem_id": "2967", "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_30968", "problem_id": "637", "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_30969", "problem_id": "589", "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_30970", "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(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_30971", "problem_id": "2944", "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_30972", "problem_id": "2833", "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_30973", "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_30974", "problem_id": "263", "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_30975", "problem_id": "2649", "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_30976", "problem_id": "862", "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_30977", "problem_id": "1379", "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_30978", "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)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_30979", "problem_id": "1414", "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_30980", "problem_id": "2516", "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_30981", "problem_id": "1643", "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_30982", "problem_id": "1227", "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_30983", "problem_id": "1810", "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_30984", "problem_id": "1791", "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_30985", "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(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_30986", "problem_id": "1571", "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_30987", "problem_id": "263", "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_30988", "problem_id": "2592", "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_30989", "problem_id": "2630", "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_30990", "problem_id": "2372", "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_30991", "problem_id": "1077", "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_30992", "problem_id": "2286", "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_30993", "problem_id": "88", "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_30994", "problem_id": "120", "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_30995", "problem_id": "1169", "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_30996", "problem_id": "1212", "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_30997", "problem_id": "1698", "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_30998", "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_30999", "problem_id": "1210", "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_31000", "problem_id": "2642", "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_31001", "problem_id": "1488", "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_31002", "problem_id": "2049", "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_31003", "problem_id": "2238", "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_31004", "problem_id": "2908", "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_31005", "problem_id": "107", "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_31006", "problem_id": "2435", "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_31007", "problem_id": "1622", "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_31008", "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)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_31009", "problem_id": "237", "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_31010", "problem_id": "2", "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_31011", "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(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_31012", "problem_id": "1506", "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_31013", "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(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_31014", "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**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_31015", "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(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_31016", "problem_id": "74", "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_31017", "problem_id": "40", "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_31018", "problem_id": "1557", "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_31019", "problem_id": "1643", "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_31020", "problem_id": "564", "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_31021", "problem_id": "449", "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_31022", "problem_id": "2998", "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_31023", "problem_id": "1685", "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_31024", "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(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_31025", "problem_id": "609", "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_31026", "problem_id": "323", "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_31027", "problem_id": "592", "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_31028", "problem_id": "2231", "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_31029", "problem_id": "1536", "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_31030", "problem_id": "1622", "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_31031", "problem_id": "929", "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_31032", "problem_id": "1354", "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_31033", "problem_id": "2699", "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_31034", "problem_id": "2998", "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_31035", "problem_id": "23", "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_31036", "problem_id": "1430", "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_31037", "problem_id": "1326", "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_31038", "problem_id": "1603", "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_31039", "problem_id": "227", "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_31040", "problem_id": "1296", "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_31041", "problem_id": "3048", "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_31042", "problem_id": "2589", "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_31043", "problem_id": "1799", "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_31044", "problem_id": "182", "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_31045", "problem_id": "2537", "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_31046", "problem_id": "2895", "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_31047", "problem_id": "1988", "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_31048", "problem_id": "1843", "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_31049", "problem_id": "860", "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_31050", "problem_id": "271", "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_31051", "problem_id": "970", "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_31052", "problem_id": "1941", "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_31053", "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_31054", "problem_id": "2815", "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_31055", "problem_id": "379", "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_31056", "problem_id": "2785", "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_31057", "problem_id": "1594", "task_type": "tc_direct" }