Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 543 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 543 Bytes

Codejam to I/O for Women 2016

https://code.google.com/codejam/contest/8274486/dashboard

Problem A: Cody's Jams

Simple. Each time, choose a smallest number x, remove x and 4x/3 in the array.

Problem B: Dance Around The Clock

Simple. For people on odd position, it will turn right every exchange, where people on even position will turn left.

Problem C: Polynesiaglot

DP. dp[n] means valid words number.
Then, dp[0]=1, dp[1]=v, dp[n]=v*(dp[n-1]+c*dp[n-2]).

Problem D: Password Security

Random to generate 100000 strings!