PTA
PTA记录
JoahChen
这个作者很懒,什么都没留下…
展开
-
1010 Radix (25分)
@[TOC](1010 Radix (25分)) 1010 Radix (25分) 题目 Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a bina...原创 2020-01-15 14:20:36 · 185 阅读 · 0 评论 -
1005 Spell It Right (20分)用例4
1005 Spell It Right (20分) Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specification: Each input file con...原创 2020-01-11 11:52:44 · 368 阅读 · 0 评论 -
1003 Emergency (25分)邻接表
题目 1003 Emergency (25分) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered citie...原创 2020-01-10 16:46:05 · 143 阅读 · 0 评论