1. 程式人生 > >2016中國大學生程式設計競賽(ccpc 長春)題解報告

2016中國大學生程式設計競賽(ccpc 長春)題解報告

Everyone hates ugly problems.

You are given a positive integer. You must represent that number by sum of palindromic numbers.

A palindromic number is a positive integer such that if you write out that integer as a string in decimal without leading zeros, the string is an palindrome. For example, 1 is a palindromic number and 10 is not.