摘要:
1044 火星数字 (20 分) 火星人是以 13 进制计数的: 地球人的 0 被火星人称为 tret。 地球人数字 1 到 12 的火星文分别为:jan, feb, mar, apr, may, jun, jly, aug, sep, oct, nov, dec。 火星人将进位以后的 12 个高位
阅读全文
posted @ 2019-01-06 22:29
么么打123
阅读(181)
推荐(0)
编辑
摘要:
1035 Password (20 分) To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some
阅读全文
posted @ 2019-01-06 17:53
么么打123
阅读(226)
推荐(0)
编辑
摘要:
Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe
阅读全文
posted @ 2019-01-06 17:34
么么打123
阅读(151)
推荐(0)
编辑
摘要:
Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color
阅读全文
posted @ 2019-01-06 11:56
么么打123
阅读(286)
推荐(0)
编辑
摘要:
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher
阅读全文
posted @ 2019-01-06 11:41
么么打123
阅读(166)
推荐(0)
编辑
摘要:
Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and
阅读全文
posted @ 2019-01-06 11:31
么么打123
阅读(120)
推荐(0)
编辑
摘要:
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 Specificat
阅读全文
posted @ 2019-01-06 11:09
么么打123
阅读(129)
推荐(0)
编辑