摘要:
Given three integers A, B and C in [-2^63^, 2^63^], you are supposed to tell whether A+B > C. Input Specification: The first line of the input gives t 阅读全文
posted @ 2018-06-09 20:20
赖兴宇
阅读(191)
评论(0)
推荐(0)
摘要:
Two integers are called "friend numbers" if they share the same sum of their digits, and the sum is their "friend ID". For example, 123 and 51 are fri 阅读全文
posted @ 2018-06-09 19:57
赖兴宇
阅读(147)
评论(0)
推荐(0)
摘要:
A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to find t 阅读全文
posted @ 2018-06-09 19:38
赖兴宇
阅读(108)
评论(0)
推荐(0)
摘要:
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer 阅读全文
posted @ 2018-06-09 19:17
赖兴宇
阅读(109)
评论(0)
推荐(0)
摘要:
1069 The Black Hole of Numbers (20)(20 分) For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-inc 阅读全文
posted @ 2018-06-09 18:59
赖兴宇
阅读(123)
评论(0)
推荐(0)
摘要:
For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient. Input Sp 阅读全文
posted @ 2018-06-09 16:59
赖兴宇
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号