problem_id
stringlengths
16
23
task_type
stringclasses
1 value
prompt
stringlengths
935
8.9k
verification_info
stringclasses
1 value
codeforces_1012_1012/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1016_1016/G
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1023_1023/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1023_1023/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1023_1023/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1027_1027/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1027_1027/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1027_1027/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1027_1027/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1027_1027/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1027_1027/G
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1041_1041/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1041_1041/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1041_1041/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1041_1041/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1041_1041/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1041_1041/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1059_1059/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1059_1059/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1059_1059/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1059_1059/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1068_1068/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1068_1068/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1068_1068/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1070_1070/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1070_1070/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1070_1070/J
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1070_1070/L
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1081_1081/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1081_1081/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1081_1081/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1081_1081/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1081_1081/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1081_1081/G
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1099_1099/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1099_1099/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1099_1099/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1099_1099/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/E1
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/E2
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1108_1108/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1114_1114/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1114_1114/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1114_1114/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1139_1139/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1139_1139/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1139_1139/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1139_1139/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1139_1139/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1139_1139/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1143_1143/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1143_1143/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1143_1143/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1172_1172/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1176_1176/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1176_1176/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1176_1176/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1176_1176/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1176_1176/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_118_118/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_118_118/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_118_118/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_118_118/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1187_1187/G
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1193_1193/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1193_1193/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1202_1202/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1202_1202/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1202_1202/C
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1202_1202/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1202_1202/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1202_1202/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1206_1206/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1206_1206/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/B
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/C1
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/C2
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/D
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/E
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1237_1237/F
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1249_1249/A
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1249_1249/B1
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}
codeforces_1249_1249/B2
codeforces
You are an expert competitive programmer. You will be given a problem statement, test case constraints and example test inputs and outputs. Please reason step by step about the solution (that must respect memory and time limits), then provide a complete implementation in c++17. Your solution must read input from stand...
{}