
比赛题目
GLOW444
这个作者很懒,什么都没留下…
展开
-
十六进制转八进制
试题 基础练习 十六进制转八进制资源限制时间限制:1.0s 内存限制:512.0MB问题描述给定n个十六进制正整数,输出它们对应的八进制数。输入格式输入的第一行为一个正整数n (1<=n<=10)。接下来n行,每行一个由0-9、大写字母A~F组成的字符串,表示要转换的十六进制正整数,每个十六进制数长度不超过100000。输出格式输出n行,每行为输入对应的八进制正整数。【注意】 输入的十六进制数不会有前导0,比如012A。 输出的八进制数也不能有前导0。样例输入原创 2020-08-10 23:13:21 · 165 阅读 · 0 评论 -
Important Exam
题目描述A class of students wrote a multiple-choice test.There are nn students in the class. The test had mm questions, each of them had 55 possible answers (A, B, C, D or E). There is exactly one corre...原创 2019-08-05 11:52:12 · 299 阅读 · 0 评论 -
Hotelier
A. Hoteliertime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputAmugae has a hotel consisting of 10 rooms. The rooms are numbered from 0 to 9 f...原创 2019-08-12 10:55:41 · 278 阅读 · 0 评论