The Online Judge board
Skip to content
Go to advanced search
Code: Select all
while(scanf("%d", &n) != 0) printf("%d\n", dp[n]);