摘要:
链接: https://vjudge.net/problem/SPOJ BALNUM 题意: Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a bal 阅读全文
摘要:
链接: https://vjudge.net/problem/HDU 4507 题意: 单身! 依然单身! 吉哥依然单身! DS级码农吉哥依然单身! 所以,他生平最恨情人节,不管是214还是77,他都讨厌! 吉哥观察了214和77这两个数,发现: 2+1+4=7 7+7=7 2 77=7 11 最终 阅读全文
摘要:
链接: https://vjudge.net/problem/HDU 4734 题意: For a decimal number x with n digits (A nA n 1A n 2 ... A 2A 1), we define its weight as F(x) = A n 2 n 1 阅读全文
摘要:
链接: https://vjudge.net/problem/HDU 3652 题意: A wqb number, or B number for short, is a non negative integer whose decimal form contains the sub string 阅读全文
摘要:
链接: https://vjudge.net/problem/HDU 3709 题意: A balanced number is a non negative integer that can be balanced if a pivot is placed at some digit. More 阅读全文
摘要:
链接: https://vjudge.net/problem/POJ 3252 题意: The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also 阅读全文