Problems
All Problems
Newest Problems
Unsolved Problems
Recommended Problems
Contests
Submissions
Clarifications
Others
Announcements
Rankings
Credits
Learning Resources
C++ Reference
Donate!
Login
syy's profile
Name
Song Yiyang
School
Raffles Institution
Role
cmanager
Country
Singapore
View Submissions
Solved Problems
01knapsack
0405
1402
1503
1609
1821
3nplus1
3nplus1II
4cuts
4russians
4sum
727
7up
GSS
abbb
acorns
addition
addition2
addk
addone
addsubtract
adjacentswaps
adjlist
adjmatrix
aesthetic
aircon
airline
aliens
aliens_ioi
amicablecats
ancestor
ants
appeal
applefarm
appletree
arcade
area
area_noi
armpit
arrangetoys
arrayfind
arraypartition
arrayproblem
artswap
askonegetonefree
assembly
assignpaths
atm
bacteria
badknapsack
badnim
badpotato
badtree
ballgame
ballot
bananafarm
bananafever
bananasmoothie
bank
banks
baseplans
baseplans_ex
basketball
beacon
beareatrabbit
beautifulbrackets
becomingred
belittle
berlandtaxi
bestplace
bichrome
binarycoins
binaryroads
binaryspells
bingo
binomial
birthday
bitaro
blanko
blocks
bobek
bombing
bombing2
books
bookshelf
boomerangs
bore
boring
bosses
bosubaiko
bottle
boundedpermutation
boundlessboxes
boxes_hkicpc
boxhaskey
boxispull
boxoffice
bracketex
bracketflip
brackets
bracketscore
bracketsuperseq
bracketsyndrome
brick
bridge_apio15
bridge_cerc
bridges_apio19
bubblesort
bucketstacking
buffet
build
bunchlocks
bunnyscore
burger
burgers
buycoke
buycomputer
buygifts
cake
cakerun
candies
candies2
candies_joi
candyboxes
candymountain_ex
candyshop
car
card
cardgame
cardgame2
cards
cardtrick
carpark
carrots
cashmoney
catalansum
catchingcheaters
catfight
catgameshow
catleap
catlunch
catnames
catteams
cave
ccs
celldivision
centroid
change
changingcolours
charges
cheerleaders
chemistry
chessislands
chinese
chocolate
choochoo
christmasfeast
christmasfiboseq
christmastree
christmasturkeyfarm
christmaswall
christmaxtrees
chunlian
circleselection
climatechange
clique
clockpalindrome
clocktower
closedpath
closedrooms
closingshop
cny
coinbag
coincombinations
coinjourney
coke
collaboration
collectingstamps3
collectmushrooms
collectmushrooms2
collectmushrooms3
collectmushrooms4
collectmushrooms5
collectmushrooms6
colorgraph
colour
colourblind
combo
commando
commonsubstring
compact
competition
construct
container
contestcalc
conversations
conversations_easy
convexhull
cookieclickeralpha
copyandpaste
countalp
countingagain
couples
cousin
cp2booksales
crypto
cuberoot
cudak
cups
cycling
dateornot
deathray
decayedbridges
deda
deletingnumbers
deliveroo
delivery
departure
deque
descsort
destroy
diamond
dice
diesel
digits
digitsum
dijkstra
dinowalk
discharging
distribution
divisibility
divsum
divsum_dec18
dna
dna_ioi
dogmonkey
doll_noi
domine
dominoes
doodles
dotjoin
doubleflip
doubletrip
doubletrouble
dquery
dragonfly
dreaming
drones
duckduckgo
ducknuggetconvention
duckwalk
duckwander
duckwar
duels
dyingpolynomial
dynamicdiameter
eatcake
eating
edgeflip
eeducation
eelimination
eescapism
eevacuation
eexploration
election
elephants
employee
entropy
entropy2
equals
erp
escalation
escape
escapesadland
evenorodd
exam
examinations
excombo
exhibition
exoticplants
experimentexplodeexpel
explosion
exponentiate
exponentiate_ex
f7
factories
feast
feedthewallabies
feelgood
fencing
fencing2
fenwicktree
ferries
fertile
fibo
fibotree
findandprevent
findtree
fireandbeary
firefighting
firelord
fireworks
fizzbuzz
flamethrower
flappyrabbit
flights
flipthat
flood
flooding
floors
flowering
flybot
foodchain
football
foreveralone
fortunetelling
fourbuckets
fractional_knapsack
fractionalmultiset
fractions
fraud
frog3
frogs
fruits
fruitsequences
fuel
fuelstation
funfair
funnynim
garaza
garden
garden_ioi05
garden_ioi08
gcd
gecko
general
generosity
gerrymandering
gift
girlfriend
globalwarming
globalwarming_ceoi
globalwarming_ex
goinghome_agc
goodmorning
goodseq
goodsubsegments
gotoschool
gotoubun
graphcraft
graphoverflow
grassplant
gravity
grazing
greenbeans
greeting
grid
gridgame
growingtrees
guanine
guards
guards_ex
guessarray
guessqueue
gwynethandtree
gymbadges
hacker
hacking
haiku
hamster1
happyarrays
harbingers
harddisk
hashcollision
hdb
heatwv
hedgehogcrimes_easy
hellokitty
helloworld
helloworld2
hipercijevi
historical
history
hld
hld2
holdinghands
hole
homeworkextension
hoofpaperscissor
horses
hotspot
housing
hungryrabbits1
hungryrabbits2
hunter
hyperoperations
ihate1111
illuminate
index
indivisibility
inequality2
inequality3
infiniteloop
infiniteseq
inheritance
inspections
installingapps
interestring
invasion
inversemax
inversions
iqtest
iqtest2
iqtest3
island
ispit
istj
jams
jedan
jjooii2
joke
journey3
judgeantibreaker
jumper
jumping2
jumpontree
jumps
justright
kfc
kickingshoes
killanton
knapsack
knapsack2
knightmoves
kthsubstring
ktupleflip
kusac
labels
ladybugs
lambsrespite
lampposts
lasers
latex
laughter
lazycat
lboard
lcm
lcs
leastround
leave
leftright
lemmas
lemonadestand
lengthsort
letters
letterstamper
levelingup
levenshtein
lfs
lightningrod
lightsflip
lineup
lineup2
lis
lis_easy
ljll
ljubomora
llis
localexpress
logs
lol
lopov
lostarray
love
lppfnlcst
lppfnlcst2
lppufdsrb
lps
lratio
lualectures
luarulers
luckynumbers
luckynumbers2
lunchbox
lunchcombo
lvm
magiccarps
magick
magicwand
makemst
malcolm
mamamintaplusa
management
mandarins
manycolours
marathon
marathon_usaco
mate
math
mathtree
maximum
medianheap
medianstring
mememagic
merchant
merchant_o
mercurypoisoning
mergecards
mergers
messy
mice
midas
milkweed
minimetro
minimum
mining
minstack
mobitel
modsum
modules
modulochain
molecules
moneychanger
monochromecat
monopoly
moosic
more_lca
more_lca2
morepaths
mountains
movingboxes
mrbeancurd
mrt
mugger
multipaths
multiple
mushroomfarm
naan
naptime
neckties
nemo
network
newlottery
nian
nicenumber
nihonese
nis
nonboringsequences
notebook
nou
nprime
numberfun
numbergame
numbers
numericalstrings
nutritionist
obstacles
obstacletree
ohbabyntriples
olympicbus
omnomnom
omnomnom2
openingshop
optimalsubseq
optmilk
orangecollector
orangeroad
oranges2
orchard
orchard2
oridance
osumnjiceni
outing
packaging
packingpests
padoru
paint
pairs
pairs_atcoder
pairsums
palindromicfever
palindromicfizzbuzz
pancake
pandacity
pandaeyes
pandaski
papaya
parade
partitiongame
party
pascal
password
pavement
pawns
payraise
peakfinding
peddler
pekora
penguinfood
penguinislands
perfectprimes
performance
persistentlists
picnic
pigeonhole
pigeonnests
pigeons
pillars
pilot
ping
pizzeria
placingrouters
plagia
planning
poi
pokeadd
pokenumbers
poklon
ponteng
postcard
potatoqueue
potatosalad
potatotree
potionseasy
potionshard
power
powersupply
pplow
prefixgcd
prefixsums
prefixsums2
pressstart
prime
primefactorization
primepie
primesort
prisoners
problematicjourney
progression
promotion
psle
purplecandy
pushups
puttingstrings
pythonindentation
quality
qualitycontrol
queuestack
quillvsowl
rabbitbars
rabbitbridges
rabbiteatrabbit
rabbitgifts
rabbitlineup
rabbitmeeting
rabbitmilk
rabbitpainting
rabbitplane
rabbitroad
rabbittolls
race
radiance
radioactive
ragingthunder
railway
rainbowrabbit
rainbowroad
rank
rarsum
rarwall
ratar
rating
razlika
rblock
reading
rebuild
reciprocals
rectangleoutline
redblacktree
relaymarathon
relutree
removeedges
removeelements
removemq
replacedigits
republiccity
restaurant
riggedroads
rightangtri
rmaxq
rmq
roadsideadverts
robobear
robot2
robots
rolling
rootedlca
roots
rotarylock
routers
routes
routine
royalguards
rubies
runway
sailor
sale
samelength
sandcity
sandd
sardines
sawmills
scalars
scanner
schedule
scrivener
sealevel
secret
seedflare
segmentoperations
segmenttree
segmenttree2
segmenttree3
selectingintervals
selfdefence
selfpermutation
sequence_apio
sherlockinversions
shikandgame
shoes
shopping
shortest
shuffling
sightseeing
sightseeing2
simcity
simp
simplebridges
simpletask
singlefile
singleflip
skillmoves
skyline
skyscraper_apio15
smallprimes
smallprimes_ex
smurf
smurfberries
smurfpaths
snack
snail
snakecode
snakenladder
snakesnack
snakesnack2
snapknack
snowball
snowcow
snukethewizard
socialdistance
socks
solarstorm
solonim
sort
sortbooks
sortedandsorted
spaceinvaders
speakers
special
spellofweakness
spiderweb
splithunny
spy
square_ioi
squarerect
squidzofrenzic
stackweights
stamps
stations
stepgame
sterilizing
stickytape
stones
stonk
stories
straight
strawberry
stringsofimpurity
subgraphs
subknapsack
subtaskstitching
subwaytrip
suffixarray
sumint
summarising2020
summarizing2021
summit
supermarket
supertrees
supperbox
supplies
surnames
swap
swapsort
swayingflowers
swimming
switches2
switches998244353
swords
synchronization
taxcollection
telephone
tents
thanossort
thanossort_st4
threetowers
thunderstorm
tiles
timeexam
toblerone
toll
topical
tour
tourist
towerdefense
towers
towers_noi
toy
train
train_ex
trains
trains_mco
transform
travel
treecutting
treepruning
treepruning2
triangles
trianglesum
triusis
trivialmaths
trivialmaths2
troubles
truck
twomeals
typicalstairs
typo
ufo
ultimateifelse
umbrella
uniquenumbers
uniquepath
universe
unluckyfloors
unmerge
vainish
variety
veryeasyproblem
village
visitingsingapore
volcanic
voting
votingcities
vouchers
wabbit
wabbitosu
wabot
walking
wall
wallabyhop
wallabyland
wallisstop
wandering
warp
watching
weddingcoins
weightedguess
werewolf
wires
wiring
wombats
woodcutter
workload
workload2
workload_ex
workoutplan
wormholes
xmas
xorb
xorreplace
xortree
youngmaids
zooqueue