problem_id
stringlengths
16
23
task_type
stringclasses
1 value
prompt
stringlengths
935
8.9k
verification_info
stringclasses
1 value
codeforces_1249_1249/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_1249_1249/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_1249_1249/D2
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/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_1249_1249/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_125_125/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_125_125/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_125_125/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_125_125/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_125_125/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_1251_1251/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_1251_1251/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_1251_1251/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_1251_1251/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_1251_1251/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_1251_1251/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_1251_1251/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_1260_1260/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_1260_1260/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_1260_1260/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_1260_1260/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_1260_1260/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_1260_1260/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_1278_1278/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_1278_1278/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_1278_1278/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_1278_1278/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_1278_1278/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_129_129/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_129_129/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_1291_1291/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_1295_1295/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_1295_1295/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_1295_1295/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_1295_1295/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_1295_1295/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_1295_1295/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_1304_1304/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_1304_1304/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_1304_1304/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_1304_1304/F1
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_1304_1304/F2
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_131_131/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_131_131/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_131_131/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_131_131/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_131_131/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_131_131/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_1329_1329/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_1329_1329/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_1335_1335/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_1335_1335/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_1335_1335/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_1335_1335/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_1335_1335/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_1353_1353/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_1353_1353/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_1353_1353/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_1353_1353/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_1353_1353/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_1353_1353/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_1362_1362/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_1362_1362/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_1362_1362/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_1366_1366/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_1366_1366/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_1366_1366/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_1366_1366/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_1366_1366/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_1397_1397/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_1397_1397/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_1426_1426/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_1426_1426/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_1426_1426/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_1426_1426/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_1426_1426/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_1426_1426/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_1450_1450/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_1450_1450/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_1450_1450/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_1450_1450/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_1450_1450/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_1450_1450/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_1450_1450/H1
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_1450_1450/H2
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_1454_1454/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_1454_1454/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_1454_1454/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_1454_1454/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_1461_1461/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_1461_1461/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_1461_1461/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_1461_1461/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_1461_1461/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_1461_1461/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_1479_1479/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_1479_1479/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_1488_1488/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_1488_1488/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_1488_1488/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...
{}