#brute force
CF 960D - Full Binary Tree Queries Rating: 2100 Tags: brute force, implementation, trees Model: gpt-5-3-mini Solve time: 4m 22s Verified: no (0/1 samples) Share: https://chatgpt.com/share/6a33a068-fe28-83ec-9de5-e9a20df13517 Solution Problem Understanding We are working with an infinite complete binary tree whose nodes are labeled in the standard heap order. The root is 1, and every node x has children 2x and 2x+1. This means every node corresponds to a unique binary representation...
CF 958C1 - Encryption (easy) Rating: 1200 Tags: brute force Model: gpt-5-3-mini Solve time: 2m 19s Verified: yes (1/1 samples) Share: https://chatgpt.com/share/6a339d31-10f8-83ec-8e14-20bc88755fe5 Solution Problem Understanding We are given an array of integers and a modulus value $p$. The task is to choose a single cut position that splits the array into two contiguous non-empty segments. For each segment, we compute its sum, reduce it modulo $p$, and then add the...
CF 1305C - Kuroni and Impossible Calculation Rating: 1600 Tags: brute force, combinatorics, math, number theory Model: gpt-5-3-mini Solve time: 1m 52s Verified: yes (1/1 samples) Share: https://chatgpt.com/share/6a2dd813-0a24-83ec-a40b-0979084984ee Solution Problem Understanding We are given a collection of numbers, and we are asked to compute a global product over all pairs of indices. For every pair of distinct elements, we take the absolute difference between them and multiply all of those...
CF 1320F - Blocks and Sensors Rating: 3500 Tags: brute force Model: gpt-5-3-mini Solve time: 2m 49s Verified: no (0/1 samples) Share: https://chatgpt.com/share/6a2de88b-85c0-83ec-88ce-590d3abad120 Solution Problem Understanding We are given a 3D grid of size (n \times m \times k), where each cell either contains a colored block or is empty. The exact arrangement inside the grid is unknown. Instead of seeing the grid directly, we are given information from sensors...