Real problems

100 problems from real contests. Each has an accepted C++ submission and a CP Lang rewrite written against the 0.3 spec. Today's compiler accepts 37 of them; the rest are marked 0.3 spec. Statements stay on the judge.

aac4p6
hard
aac · greedy · deque · simulation

C++ 223 lines → CP Lang 25

aac5p4
easy
aac · constructive · math

C++ 71 lines → CP Lang 12

apio09p2
hard
apio · intervals · greedy · binary-lifting · sorted-map

C++ 192 lines → CP Lang 37

apio09p3
medium
apio · graphs · scc · dag-dp · memo

C++ 188 lines → CP Lang 25

apio23p1
hard
apio · graphs · dijkstra · layered · grader

C++ 116 lines → CP Lang 20

btoi15p3
medium
btoi · trees · constructive · dfs-order

C++ 129 lines → CP Lang 12

btoi17p2
medium
btoi · segtree · matrix · min-plus

C++ 129 lines → CP Lang 17

btoi17p6
medium
btoi · trees · greedy

C++ 81 lines → CP Lang 21

btoi18p4
unrated
btoi

C++ 276 lines → CP Lang 74

btoi20p3
hard
btoi · dsu · rollback · divide-and-conquer · bipartite

C++ 175 lines → CP Lang 16

ccc02s4
easy
ccc · dp · partition · reconstruct

C++ 70 lines → CP Lang 19

ccc03s4
easy
ccc · strings · suffix-array

C++ 186 lines → CP Lang 5

ccc04s5
medium
ccc · dp · grid

C++ 90 lines → CP Lang 22

ccc18s4
medium
ccc · dp · math · floor-quotients · memo

C++ 104 lines → CP Lang 9

ccc19s2
easy
ccc · math · sieve

C++ 77 lines → CP Lang 6

ccc20s4
medium
ccc · prefix-sums · greedy · strings

C++ 172 lines → CP Lang 23

cco04p4
easy
cco · simulation · geometry

C++ 103 lines → CP Lang 14

cco16p4
medium
cco · constructive · bits · counting

C++ 86 lines → CP Lang 14

cco18p4
medium
cco · interactive · ternary-search

C++ 101 lines → CP Lang 10

cco19p5
medium
cco · graph · small-to-large · sets

C++ 60 lines → CP Lang 16

cco20p4
medium
cco · graph · constructive · euler-tour

C++ 87 lines → CP Lang 13

cco20p5
unrated
cco

C++ 299 lines → CP Lang 55

cco21p2
medium
cco · graph · bfs · state-space · math

C++ 100 lines → CP Lang 14

cco21p4
hard
cco · graph · greedy · heap · peel

C++ 115 lines → CP Lang 26

cco21p5
hard
cco · dp · segtree · lazy

C++ 181 lines → CP Lang 24

cco24p1
easy
cco · graph · dijkstra · multi-source

C++ 91 lines → CP Lang 9

ceoi17p2
medium
ceoi · greedy · prefix-sums · binary-search

C++ 80 lines → CP Lang 13

ceoi18p1
medium
ceoi · dp · knapsack · sorting

C++ 76 lines → CP Lang 15

ceoi19pp1
easy
ceoi · counting · hashing

C++ 62 lines → CP Lang 7

cheerio1s3
easy
cheerio · geometry · ratios

C++ 71 lines → CP Lang 11

cmt21r2ztr
hard
cmt · 2-sat · constructive

C++ 254 lines → CP Lang 31

coci20c6p3
medium
coci · dp · combinatorics · mod

C++ 102 lines → CP Lang 16

coci21c1p1
easy
coci · simulation

C++ 69 lines → CP Lang 12

coci21c2p4
hard
coci · dp · connected-components · combinatorics

C++ 145 lines → CP Lang 24

coci21c2p5
hard
coci · two-pointers · binary-lifting · segtree

C++ 161 lines → CP Lang 15

coci21c4p4
hard
coci · tree · binary-search · greedy

C++ 112 lines → CP Lang 37

dmopc20c4p4
medium
dmopc · greedy · stack

C++ 102 lines → CP Lang 19

dmopc21c2p1
easy
dmopc · math · prefix-sums · convexity

C++ 67 lines → CP Lang 6

dmopc21c4p1
easy
dmopc · geometry · brute-force

C++ 76 lines → CP Lang 6

dmopc21c4p2
medium
dmopc · number-theory · sieve

C++ 109 lines → CP Lang 11

dmopc21c5p2
easy
dmopc · constructive

C++ 62 lines → CP Lang 6

dmopc21c9p1
easy
dmopc · math · ad-hoc

C++ 58 lines → CP Lang 11

dmpg16g2
hard
dmpg · inclusion-exclusion · dsu · bitmask

C++ 185 lines → CP Lang 44

egoi22p3
unrated
egoi

C++ 236 lines → CP Lang 31

egoi23p4
hard
egoi · graph · floyd-warshall · semiring · kruskal

C++ 185 lines → CP Lang 27

egoi23p7
unrated
egoi

C++ 233 lines → CP Lang 50

etsr23r1p4
hard
etsr · segment-tree-beats · data-structures

C++ 246 lines → CP Lang 16

etsr23r3p3
hard
etsr · kruskal-tree · dijkstra · online

C++ 220 lines → CP Lang 18

etsr23r4p2
hard
etsr · segtree · math · euler

C++ 375 lines → CP Lang 36

ioi01p1
easy
ioi · fenwick · 2d · data-structures

C++ 175 lines → CP Lang 13

ioi05p2
hard
ioi · segment-tree · offline · compression

C++ 177 lines → CP Lang 33

ioi09p3
easy
ioi · implementation · sorting

C++ 72 lines → CP Lang 11

ioi09p6
hard
ioi · bfs · grid · binary-search

C++ 137 lines → CP Lang 14

ioi14p5io
unrated
ioi

C++ 157 lines → CP Lang 18

ioi15p5
unrated
ioi

C++ 201 lines → CP Lang 33

ioi15p6
unrated
ioi

C++ 210 lines → CP Lang 44

ioi16p6
hard
ioi · dp · convex-hull-trick · aliens

C++ 180 lines → CP Lang 23

ioi16p6io
unrated
ioi

C++ 193 lines → CP Lang 20

ioi18p1
medium
ioi · interactive · constructive

C++ 77 lines → CP Lang 16

ioi19p1
medium
ioi · greedy · fenwick

C++ 144 lines → CP Lang 19

ioi19p3
unrated
ioi

C++ 354 lines → CP Lang 43

ioi19p5
unrated
ioi

C++ 112 lines → CP Lang 31

ioi19p6
unrated
ioi

C++ 407 lines → CP Lang 51

ioi22p5
unrated
ioi

C++ 90 lines → CP Lang 35

ioi96p1
medium
ioi · interval-dp · games

C++ 57 lines → CP Lang 12

mccc4j1
easy
mccc · implementation

C++ 49 lines → CP Lang 3

mccc4j4
easy
mccc · sorting · implementation

C++ 115 lines → CP Lang 21

nccc10s4
unrated
nccc

C++ 284 lines → CP Lang 11

nccc8s3
medium
nccc · greedy · monotone-stack

C++ 102 lines → CP Lang 19

noi02p1
medium
noi · dsu · weighted-dsu

C++ 126 lines → CP Lang 10

noi02p3
hard
noi · tree-dp · knapsack

C++ 113 lines → CP Lang 22

noi05p4
hard
noi · expected-value · dp · bfs

C++ 116 lines → CP Lang 20

noi06p3
unrated
noi

C++ 142 lines → CP Lang 28

noi07p1
medium
noi · shortest-paths · counting

C++ 151 lines → CP Lang 26

noi08p5
unrated
noi

C++ 295 lines → CP Lang 34

noi09p4
hard
noi · flow · closure · graph

C++ 169 lines → CP Lang 14

noi10p2
hard
noi · heap · sparse-table · prefix-sums

C++ 205 lines → CP Lang 15

noi14p5
medium
noi · greedy · simulation

C++ 119 lines → CP Lang 31

noi15p1
easy
noi · dsu · compression

C++ 121 lines → CP Lang 9

noi15p4
medium
noi · greedy · huffman · heap

C++ 85 lines → CP Lang 14

noi17p2
unrated
noi

C++ 397 lines → CP Lang 40

noip09p4
medium
noip · search · backtracking · bitmask

C++ 102 lines → CP Lang 36

noip10p1
easy
noip · simulation · deque

C++ 62 lines → CP Lang 12

noip14p6
medium
noip · math · hashing

C++ 103 lines → CP Lang 11

noip18p3
hard
noip · binary-search · tree-dp · greedy

C++ 122 lines → CP Lang 24

noip20p3
unrated
noip

C++ 231 lines → CP Lang 46

noip99p1
medium
noip · lis · dilworth

C++ 70 lines → CP Lang 6

sac22cc2p5
easy
sac · fenwick

C++ 230 lines → CP Lang 14

sac22cc3jp2
easy
sac · implementation

C++ 55 lines → CP Lang 3

sac22cc3jp4
easy
sac · implementation · base-conversion

C++ 61 lines → CP Lang 4

sac22cc4jp2
easy
sac · implementation

C++ 62 lines → CP Lang 13

sdoi17r1p2
unrated
sdoi

C++ 417 lines → CP Lang 25

sdoi17r2p4
unrated
sdoi

C++ 298 lines → CP Lang 44

shoi16p1
hard
shoi · tree-dp

C++ 120 lines → CP Lang 22

shoi16p3
unrated
shoi

C++ 267 lines → CP Lang 25

ucrpc21c
easy
ucrpc · implementation · simulation

C++ 71 lines → CP Lang 13

ucrpc21h
medium
ucrpc · graph · shortest-path · knapsack

C++ 140 lines → CP Lang 30

yac6p3
easy
yac · interactive · math

C++ 70 lines → CP Lang 15

yac6p4
easy
yac · games · grundy

C++ 65 lines → CP Lang 12

yac7p3
medium
yac · graph · functional-graph

C++ 152 lines → CP Lang 23