Problems
Pick a problem and write your solution in the built-in editor. The judge runs it against real test cases while you watch, and the wider archive is open to read whenever you like.
Total results6,373 problems
| Title | Level | Topics | Solved | Time limit | Memory limit | Judge |
|---|---|---|---|---|---|---|
| RacetrackGiven ordered lap times and lap counts and the rule that passes happen only at the finish line, compute when each runner finishes the race. | Hard8 | SimulationImplementation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Saturn BeesOn a torus-like hexagonal grid, decide whether nm/4 vertices can each dominate a closed neighborhood of 4 vertices, covering every vertex. | Hard8 | MathCombinatorics+2 | No attempts yet | 2s | 512 MB | Judgeable |
| WolfGiven your n-card pile and the opponent's remaining 51... wait 52-n cards, decide whether reordering both piles can make you win the next turn. | Hard8 | GreedySorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Cumulative CodeFor the complete binary tree of depth k, answer q queries each summing m elements of its Prüfer code at positions a, a+d, ..., a+(m-1)d. | Hard8 | MathTree+2 | No attempts yet | 7s | 512 MB | Judgeable |
| Donut DroneSimulate a drone on a toroidal grid where each step moves to the highest of three rightward neighbors, handling up to 1e9 steps per move query and elevation updates. | Hard8 | SimulationBinary search+2 | No attempts yet | 8s | 512 MB | Judgeable |
| Faulty FactorialGiven n, prime p, and target r mod p, find the faulty factorial (one factor reduced below its index) with remainder r, printing the smallest such (index, value). | Hard8 | Number theoryMath+2 | No attempts yet | 3s | 512 MB | Judgeable |
| Kitchen KnobsGiven n seven-digit knobs, find the fewest range rotations (each turning a contiguous block by the same amount) so every knob reads its maximum-power digit. | Hard8 | GreedyImplementation+2 | No attempts yet | 3s | 512 MB | Judgeable |
| Archery TournamentMaintain a dynamic set of non-overlapping circles tangent to the ground, support insertions and point queries that remove the hit circle, and report which circle each arrow hits. | Hard8 | GeometryBinary search+2 | No attempts yet | 3s | 512 MB | Judgeable |
| BoxGiven a box with edges a, b, c and a w by h cardboard, decide whether some edge-aligned net of the box fits on the cardboard. | Hard8 | GeometryBrute force+2 | No attempts yet | 3s | 512 MB | Judgeable |
| ConnectionsGiven a strongly connected directed graph, run two specified BFS traversals to build a set of 2n kept roads and print the rest in input order. | Hard8 | GraphBFS+2 | No attempts yet | 3s | 512 MB | Judgeable |
| The Final LevelFind the minimum number of L-shaped n-blocks needed to cover a connected path of squares from (0,0) to (a,b) on an infinite grid. | Hard8 | MathGreedy+2 | No attempts yet | 3s | 512 MB | Judgeable |
| SumdokuFill a 9x9 Sudoku grid so that constrained adjacent cells inside each 3x3 block satisfy <, =, or > versus 10, and print the lexicographically smallest solution. | Hard8 | BacktrackingImplementation+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Bang! Bang!Given lines and circles all passing through the origin, count how many regions the plane is divided into, treating duplicates as one shape. | Hard8 | GeometryCombinatorics+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Medical CheckupGiven n students in a fixed queue and their per-item service times, report the item each student is on or waiting for at time t+0.5. | Hard8 | SimulationMath+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Making the Perimeter of the Convex Hull ShortestGiven n points, find the largest decrease in convex hull perimeter achievable by removing exactly two of the points. | Hard8 | GeometrySorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Rendezvous on a TetrahedronTwo worms start at vertex A of a regular tetrahedron, crawl straight across faces reflecting off edges, and stop after integer trail lengths; decide whether they end on the same face. | Hard8 | GeometryImplementation+1 | No attempts yet | 1s | 512 MB | Judgeable |
| HomeworkGiven n assignments split into two courses with release days and deadlines, simulate fixed tie-break rules over adaptive coin choices and find the maximum and minimum number he can finish. | Hard8 | Dynamic programmingGreedy+2 | No attempts yet | 2s | 512 MB | Judgeable |
| String PuzzleGiven equality hints between substrings of a huge implicit string plus some fixed letters, decide the letters at the queried positions. The hint structure is a partition of the string into sections, and a hint joins one section to an earlier same-length section, so the constraints are interval equalities on an unknown string of length n; the task is to propagate equality and fixed letters across positions, answering ? where a position's letter is not forced. The input size is small (at most 1000 hints and 1000 queries) but n can be 10^9, so positions cannot be enumerated directly and the hint/ | Hard8 | StringUnion-find+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Border WallGiven two colored point sets and a width d, find the minimum number of points to delete so that a strip of width d separates the remaining points by color. | Hard8 | GeometrySorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Homotopic PathsDecide whether two polygonal paths from s to t in a plane with point obstacles are homotopic, that is, deformable into each other without crossing any tree. | Hard8 | GeometryImplementation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Wookje and His FansMaintain a line of fans with club labels under deletions and range-count queries, where each query counts the maximal same-club run around an element. | Hard8 | Linked listUnion-find+2 | No attempts yet | 2.5s | 256 MB | Judgeable |
| RetroGiven a grid where the player moves horizontally while objects fall one row per turn, collect brackets to form the longest valid expression and output the lexicographically smallest one of that length. | Hard8 | Dynamic programmingGreedy+2 | No attempts yet | 0.5s | 512 MB | Judgeable |
| PortalFind the minimum time for Chell to reach F in a grid, where shooting portals into walls is free and stepping through a portal pair costs 1, with at most two portals alive at once. | Hard8 | GraphBFS+2 | No attempts yet | 1s | 256 MB | Judgeable |
| K-summaryGiven segment lengths K_i, count how many array positions are pinned down by all the K_i-summaries. | Hard8 | MathNumber theory+2 | No attempts yet | 0.5s | 64 MB | Judgeable |
| CesteFor each city, find the route from city 1 that minimizes the product of total travel time and total cost, or report -1 if unreachable. | Hard8 | GraphShortest path+2 | No attempts yet | 2.5s | 128 MB | Judgeable |
| Multiple of a Squared FactorialFor many queries N, find the smallest K such that K! is divisible by (N!)^2. The answer is always between N and 2N, and needs Legendre exponent checks. | Hard8 | Number theoryMath+2 | No attempts yet | 3s | 512 MB | Judgeable |
| Binary TransformationsGiven starting bits, target bits, and per-bit costs, flipping a bit i costs the sum of costs of all bits equal to 1 after the flip; find the minimum total price to reach the target. | Hard8 | Dynamic programmingGreedy+2 | No attempts yet | 1s | 256 MB | Judgeable |
| TetrisOn a 3-wide, 10-tall Tetris board, pieces from a repeating shape sequence arrive forever; maximize how many land before the top fills, or output -1 if play can continue indefinitely. | Hard8 | Dynamic programmingSimulation+2 | No attempts yet | 2.5s | 512 MB | Judgeable |
| Umbral DecodingGiven up to 100 safe points (x, y, b), count lattice points (p, q) in the square [0, n]^2 that are not covered by any region |x-p|^3 + |y-q|^3 <= b. | Hard8 | GeometryMath+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Vera and Canada DayAfter each laser is added, choose one of four L-shaped firing orientations per laser so that the total awe from lasers hit by beams is maximized. | Hard8 | Dynamic programmingGraph+2 | No attempts yet | 2s | 512 MB | Judgeable |
| The Jet-Black WingsMaintain a multiset under global XOR updates and queries asking for the sum of the K smallest elements. | Hard8 | TrieBit manipulation+2 | No attempts yet | 3s | 512 MB | Judgeable |
| LCA and queriesFor each query with a designated root r, report the LCA of u and v in a tree of up to 100,000 vertices. | Hard8 | TreeDFS+2 | No attempts yet | 2s | 512 MB | Judgeable |
| City MaintenanceGiven a tree with a price on every vertex, find the maximum, over all choices of a removed vertex, of the sum of the maximum price within each remaining connected component. | Hard8 | TreeDFS+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Making a Beautiful PuzzleFill each square of an N by M board with one of four colors so that orthogonal neighbors differ, maximizing total beauty and counting optimal placements modulo 1e9+7. | Hard8 | Dynamic programmingBacktracking+2 | No attempts yet | 3s | 128 MB | Judgeable |
| Operation OptimizationFind the shortest sequence of append-0, append-1, and self-doubling operations whose two-fold application to the empty string yields a given binary string S. | Hard8 | StringGreedy+2 | No attempts yet | 2s | 256 MB | Judgeable |
| Escape from HellChoose an order to use N energy drinks so the climber reaches length L on the earliest day without sinners catching up at night. | Hard8 | GreedySorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Share the Ruins PreservationSplit points by a vertical line that avoids all points, build the minimum-area enclosing convex hull of each side, and minimize the total area. | Hard8 | GeometrySorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Map of the Ninja HouseReconstruct the graph of a ninja house from the counter and door records produced by a fixed DFS exploration, handling back edges, skips, and multi-edges. | Hard8 | GraphDFS+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Dango MakerChoose disjoint horizontal or vertical runs of three cells reading R, G, W in order on an N by M grid, maximizing how many such sticks fit. | Hard8 | Dynamic programmingMatrix+2 | No attempts yet | 2s | 256 MB | Judgeable |
| MiningGiven a grid of mineral strengths with air only on the top, left, and right faces, find the smallest performance D so that at least K minerals can be removed in some order. | Hard8 | Binary searchBFS+2 | No attempts yet | 2s | 256 MB | Judgeable |
| Big Number Multiplication (2)Multiply two integers of up to 300,000 digits each, too large for quadratic multiplication, and print the exact product. | Hard8 | MathDivide and conquer+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Connect the DotsGiven a 4 by 4 grid labeled 1 to 16, find the minimum number of straight segments a continuous polyline needs so that the dots are visited in numeric order. | Hard8 | GeometryGreedy+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Factor-Free TreeGiven a sequence, decide whether it can be the inorder of a rooted binary tree where every node is coprime with all its ancestors, and if so output each node's parent index. | Hard8 | TreeDivide and conquer+2 | No attempts yet | 6s | 512 MB | Judgeable |
| Juggling TroupeSimulate balls thrown left and right simultaneously until every position holds at most one ball, then report the final configuration. | Hard8 | SimulationGreedy+2 | No attempts yet | 3s | 512 MB | Judgeable |
| PillarsGiven a grid with 2x2 pillars spaced apart, construct the unique Hamiltonian circuit through all free cells defined by a fixed local rule. | Hard8 | ImplementationSimulation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| The StagingGiven n gangsters each aiming at a distinct target, count survivors after each of q updates to the shooting time of one gangster. | Hard8 | GraphDynamic programming+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Drawing a Character FaceGiven three circles, compute the area of their union, counting overlaps once, and print it to six decimal places. | Hard8 | GeometryMath+2 | No attempts yet | 0.1s | 256 MB | Judgeable |
| Two tetrominoesPlace two non-overlapping tetrominoes anywhere on an N by M grid so the total of the covered cells is maximized. | Hard8 | Brute forceDynamic programming+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Spacetime StoneAssign Taekhee's cards to rounds and pick a strength-joker round so that Namgyu's best-case score (over his joker round) is minimized, ties broken lexicographically. | Hard8 | GreedySorting+2 | No attempts yet | 1s | 128 MB | Judgeable |
| Phantom Thief GangsanDecide whether a thief can collect all jewels and end with zero trackers by repeatedly walking whole rows or columns, never re-entering a row or column after stealing a plain jewel. | Hard8 | GraphSimulation+2 | No attempts yet | 1s | 128 MB | Judgeable |
| Ladder ManipulationGiven a ladder with N vertical lines, H rows, and M existing rungs, find the minimum number of rungs to add so every walk from column i ends at column i, or report -1 if more than 3. | Hard8 | BacktrackingBrute force+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Getting a Jump on CrimeGiven building heights on a grid, find the minimum number of jumps to reach each roof, where a jump is valid only if its parabola clears every building between the two roofs. | Hard8 | GraphBFS+2 | No attempts yet | 2s | 1024 MB | Judgeable |
| Go with the FlowChoose a line width for justified monospaced text, then find the longest run of spaces that drifts by at most one column per line, and report the best width and length. | Hard8 | Brute forceString+2 | No attempts yet | 12s | 1024 MB | Judgeable |
| Panda PreserveGiven a simple polygon and receivers at its vertices with a common radius, find the smallest radius whose union of disks covers the whole polygon. | Hard8 | GeometryBinary search+2 | No attempts yet | 10s | 1024 MB | Judgeable |
| Single Cut of FailureWires cross a rectangle between boundary sides; find the fewest straight cuts connecting different sides that cross every wire, and output the lexicographically smallest such cut. | Hard8 | GeometrySorting+2 | No attempts yet | 6s | 1024 MB | Judgeable |
| Out of SortsGiven an array, simulate a hybrid of quicksort and bubble sort that repeatedly bubbles until partition points appear, then splits, and report the total work counter. | Hard8 | SortingSimulation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Out of SortsGiven an array, count how many times the outer loop of a forward-backward bubble sort variant runs before the array becomes sorted. | Hard8 | SortingMath+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Multiplayer MooGiven an N x N grid of cow IDs, find the largest connected region of one ID and the largest region formed by two IDs together. | Hard8 | DFSGraph+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Yut NoriModel Yut Nori movement on four board routes and apply carrying, capturing and exit rules after each throw. | Hard8 | ImplementationSimulation+1 | No attempts yet | 1s | 1024 MB | Judgeable |
| ParticlesGiven firing times and speeds of N particles from each of two facing accelerators, report the first K collisions between opposite kinds in chronological order. | Hard8 | SortingTwo pointers+2 | No attempts yet | 2s | 512 MB | Judgeable |
| CamelConstruct a closed knight-like tour for a jumping camel piece on an N x N board where N is a multiple of 5, printing the visit order or NO. | Hard8 | GreedyImplementation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| System CallChoose one buffer size K for all files to minimize sum over files of ceil(F_i/K) times (T+K). | Hard8 | MathNumber theory+2 | No attempts yet | 1s | 512 MB | Judgeable |
| Non-Interactive Guessing NumberGiven N, K, and Theodora's answer string, output guess values that follow the rules, or -1 if impossible. | Hard8 | Binary searchGreedy+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Random Number GeneratorGiven how many values from 1 to N have been seen zero or one time, find the expected number of draws until every value appears at least twice. | Hard8 | ProbabilityDynamic programming+2 | No attempts yet | 2s | 512 MB | Judgeable |
| PermutationGiven a permutation P and queries K, find the exponent T such that P^T is the K-th smallest among P^1 through P^(M-1) in lexicographic order. | Hard8 | MathCombinatorics+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Mysterious ArrayCount permutations of 1..N consistent with Q range-minimum constraints, modulo 1e9+7, with contradictions giving 0. | Hard8 | CombinatoricsSorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Turf WarsEach gang owns disjoint axis-aligned rectangles; pick exactly one rectangle to drop per gang so that no two kept rectangles from different gangs overlap, and report whether this is possible. | Hard8 | GeometryBrute force+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Full HouseKnowing only how many cards were removed from a 52-card deck, find the minimum and maximum number of disjoint full houses (3 of one rank plus 2 of another) that can be formed from the remaining cards. | Hard8 | CombinatoricsGreedy+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Matrix MultiplicationFor each prefix of n matrices, decide whether some multiplication order is valid, and if so report the largest possible area of the final product. | Hard8 | GreedySorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Kakao MoneyGiven a log of deposits and withdrawals with resulting balances, find a minimum charge unit M that is consistent with every withdrawal, or report that none exists. | Hard8 | MathNumber theory+2 | No attempts yet | 5s | 256 MB | Judgeable |
| Magnet ToyGiven a simple graph, decide whether its vertices can be removed one by one so that each removed vertex's remaining neighbors form a clique, and output the order if possible. | Hard8 | GraphImplementation+2 | No attempts yet | 1.5s | 256 MB | Judgeable |
| LotteryFor each of n-l+1 length-l windows and each query threshold k, count how many other windows differ from it in at most k positions. | Hard8 | String matchingHash map+2 | No attempts yet | 2s | 32 MB | Judgeable |
| Playoff by all the teamsCount the ways to fill in the unplayed matches of a round-robin tournament so that every team ends with the same number of wins. | Hard8 | Brute forceBacktracking+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Flashing FluorescentsGiven up to 16 initial light states, find the earliest time at which all lights can be simultaneously on, where each button press sends a delayed toggle wave down the line and overlapping waves cancel. | Hard8 | BFSBit manipulation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Word ClockPlace n distinct words left to right on an h by w grid where words may share letters, or report that no placement exists. | Hard8 | BacktrackingImplementation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Battle RoyaleFind the shortest path between two points inside a circle while staying outside an inner red circle, touching boundaries only. | Hard8 | GeometryMath+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Grievous Loss of DataGiven the clash graph of N interval lectures, find the minimum number of halls, which equals the chromatic number guaranteed realizable by intervals. | Hard8 | GraphIntervals+2 | No attempts yet | 6s | 512 MB | Judgeable |
| Injecting DNAFor every suffix of a string, compute its toxicity from the number of out-of-order suffix pairs, then output the length of the suffix with the largest effectiveness. | Hard8 | StringSorting+2 | No attempts yet | 2s | 512 MB | Judgeable |
| I'm a FanFind the smallest CCW rotation angle whose swept orbit of a star-shaped polygon around the origin is a full disk. | Hard8 | GeometryMath+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Ttururu TturuCount self-avoiding walks of length 10 on an R x C grid whose cell contents read exactly "ttururu tturu" (the 5-letter chorus "뚜루루뚜루" written row-wise twice). | Hard8 | DFSBrute force+2 | No attempts yet | 0.5s | 512 MB | Judgeable |
| Peace SignFind the similarity transform (translation, rotation, uniform scale) of the first segment set that matches the most segments of the second set, counting exact matches. | Hard8 | GeometryHash map+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Coloring RoadsColor every edge on a root path with a given color and then count colors used on exactly m edges, answering Q updates online. | Hard8 | TreeSegment tree+2 | No attempts yet | 4s | 1024 MB | Judgeable |
| Balcony RepairsGiven a huge R by C grid with at most 1000 blocked cells, place horizontal dominoes on free cells to maximize the count, then report that maximum and the number of ways modulo 1e9+7. | Hard8 | Dynamic programmingCombinatorics+2 | No attempts yet | 2s | 512 MB | Judgeable |
| LazinessCut a bar of total length into given pieces with cut cost xy and minimize total cost; the cost is fixed at (sum of squares differences)/2, so just read the lengths. | Hard8 | MathGreedy+1 | No attempts yet | 1s | 512 MB | Judgeable |
| Small NumbersGiven positive integers a and b, reduce their sum using common-divisor divisions and factor moves between them. Report the minimum sum and one minimizing pair. | Hard8 | Number theoryMath+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Folding the FigureGiven a connected polyomino of n cells that results from folding a k-cell polyomino along one grid line, reconstruct any valid original k-cell figure and the fold line. | Hard8 | ImplementationGeometry+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Cosmetic SurveyGiven n evaluators' ranked preference lists over m cosmetics, build the pairwise strict-preference counts and find every cosmetic X with S(X,Y) >= S(Y,X) for all Y, where S is the widest-path bottleneck strength. | Hard8 | GraphShortest path+2 | No attempts yet | 2s | 512 MB | Judgeable |
| ParenthesesClassify a C arithmetic expression as error, proper, or improper depending on validity and the minimality of its parentheses. | Hard8 | StackRecursion+2 | No attempts yet | 1s | 512 MB | Judgeable |
| Secret CodeFind the probability of three uniformly timed agents meeting pairwise through their fixed waiting windows, then print the scenario indices sorted by that probability. | Hard8 | CombinatoricsGeometry+2 | No attempts yet | 1s | 512 MB | Judgeable |
| TV Show GameAssign each of k lamps red or blue so that every one of n triples of color guesses has at least two matches, or report impossible. | Hard8 | Dynamic programmingBrute force+2 | No attempts yet | 1s | 512 MB | Judgeable |
| Prime Tree - 5Assign labels 1 to n to a tree's vertices so that as few edges as possible join two labels sharing a common divisor. | Hard8 | GreedyNumber theory+2 | No attempts yet | 10s | 512 MB | Judgeable |
| A/B - 3Given A and B with up to 10000 digits (possibly negative), compute the quotient and nonnegative remainder of A divided by B. | Hard8 | MathImplementation+2 | No attempts yet | 0.5s | 512 MB | Judgeable |
| Slackline AdventureCount unordered pairs of grid trees at distance in [L, R] whose line segment passes through no other tree, using visible lattice points and inclusion-exclusion over strip indices. | Hard8 | MathNumber theory+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Modified SATGiven a CNF formula whose clauses each have at most 3 literals, decide whether there is an assignment with exactly 1 or exactly 3 true literals per clause, and print the lexicographically largest such assignment. | Hard8 | Dynamic programmingGreedy+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Maple Leaf StoryBind n skills of 2n to n keys so maximum quests each needing k skills all bound can be cleared. n <= 10, m <= 100. | Hard8 | Brute forceCombinatorics+2 | No attempts yet | 1s | 256 MB | Judgeable |
| decryptQuery a black-box encoder up to 320 times to recover three secret seeds of a linear recurrence and a secret byte permutation. | Hard8 | Bit manipulationMath+2 | No attempts yet | 1s | 64 MB | Judgeable |
| Pikachu's Hard ProblemUse Stewart's theorem on isosceles ABC with equal legs N to prove F(i) = N^2, so the answer for any K points is floor(K*N^2). | Hard8 | MathImplementation | No attempts yet | 1s | 512 MB | Judgeable |
| Pie Max FlowGiven a wheel of N spokes from vertex 0 with capacities A and a rim cycle with capacities B, compute each sink's max flow from 0 and output their sum. | Hard8 | GraphShortest path+2 | No attempts yet | 1s | 256 MB | Judgeable |
| Pixel TrianglesGiven up to four million right isosceles triangles on a 2000x2000 grid, count the total number of grid cells covered by at least one triangle. | Hard8 | Prefix sumMatrix+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Go Make It CompleteGiven a simple graph, find the largest k such that some ordering of the missing edges, adding a pair when its current endpoint degrees sum to at least k, still yields the complete graph. | Hard8 | GraphGreedy+2 | No attempts yet | 1s | 512 MB | Judgeable |