模拟
无
我不是手机
这个作者很懒,什么都没留下…
展开
-
高精度 模拟A - A + B Problem II大数加法(寒假集训)
题目要求 I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input contains an integer T(1<=T<=20) which means th...原创 2020-04-03 22:48:04 · 148 阅读 · 0 评论 -
高精度模拟H - N的阶乘(寒假集训)
题目要求 输入N求N的阶乘的准确值。 Input 输入N(1 <= N <= 10000) Output 输出N的阶乘 Sample Input 5 Sample Output 120 #include<stdio.h> #include<string.h> #include<iostream> #include<algorithm> #...原创 2020-04-10 22:46:35 · 133 阅读 · 0 评论 -
模拟 A - Airport
题目 问题描述: 宇航员在太空中迷失了方向,在他的起始位置现在建立一个虚拟xyz坐标系,称为绝对坐标系,宇航员正面的方向为x轴正方向,头顶方向为z轴正方向,则宇航员的初始状态如下图所示:、 现对六个方向分别标号,x,y,z正方向分别为0,1,2,负方向分别为3,4,5;称它们为绝对方向。宇航员在宇宙中只沿着与绝对坐标系xyz轴平行的方向行走,但是他不知道自己当前绝对坐标和自己面向的绝对方向。 任务描述: 请根据宇航员对自己在相对方向上移动的描述确定宇航员最终的绝对坐标和面向的绝对方向。对在相对方向原创 2020-05-13 22:27:25 · 238 阅读 · 0 评论 -
模拟B - Butterfly
题目 Given a sequence of N nonnegative integers. Let’s define the median of such sequence. If N is odd the median is the element with stands in the middle of the sequence after it is sorted. One may notice that in this case the median has position (N+1)/2 in原创 2020-05-15 23:13:56 · 246 阅读 · 0 评论 -
模拟C - Compair
题目 You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them. Input Input consists of up to 100,000 dictionary entries, followed原创 2020-05-16 08:27:05 · 157 阅读 · 0 评论 -
模拟 D - Dosgame
题目 If you ever tried to read a html document on a Macintosh, you know how hard it is if no Netscape is installed. Now, who can forget to install a HTML browser? This is very easy because most of the times you don’t need one on a MAC because there is a Acro原创 2020-05-16 19:53:24 · 467 阅读 · 0 评论 -
模拟 F - Force
题目 For a given number, if greater than ten, round it to the nearest ten, then (if that result is greater than 100) take the result and round it to the nearest hundred, then (if that result is greater than 1000) take that number and round it to the nearest原创 2020-05-16 19:57:41 · 349 阅读 · 0 评论 -
模拟 G - Gewuen
题目 Sally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and size make it indistinguishable from the real silver dollars. The counterfeit coin has a differe原创 2020-05-17 21:22:16 · 245 阅读 · 0 评论 -
模拟 I - Ice-Cream
题目 There are n students in a school class, the rating of the i-th student on Codehorses is ai. You have to form a team consisting of k students (1≤k≤n) such that the ratings of all team members are distinct. If it is impossible to form a suitable team, pri原创 2020-05-17 21:23:49 · 128 阅读 · 0 评论