
模拟
无
我不是手机
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
高精度 模拟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.InputThe first line of the input contains an integer T(1<=T<=20) which means th...原创 2020-04-03 22:48:04 · 208 阅读 · 0 评论 -
高精度模拟H - N的阶乘(寒假集训)
题目要求输入N求N的阶乘的准确值。Input输入N(1 <= N <= 10000)Output输出N的阶乘Sample Input5Sample Output120#include<stdio.h>#include<string.h>#include<iostream>#include<algorithm>#...原创 2020-04-10 22:46:35 · 165 阅读 · 0 评论 -
模拟 A - Airport
题目问题描述: 宇航员在太空中迷失了方向,在他的起始位置现在建立一个虚拟xyz坐标系,称为绝对坐标系,宇航员正面的方向为x轴正方向,头顶方向为z轴正方向,则宇航员的初始状态如下图所示:、现对六个方向分别标号,x,y,z正方向分别为0,1,2,负方向分别为3,4,5;称它们为绝对方向。宇航员在宇宙中只沿着与绝对坐标系xyz轴平行的方向行走,但是他不知道自己当前绝对坐标和自己面向的绝对方向。任务描述: 请根据宇航员对自己在相对方向上移动的描述确定宇航员最终的绝对坐标和面向的绝对方向。对在相对方向原创 2020-05-13 22:27:25 · 296 阅读 · 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 · 290 阅读 · 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.InputInput consists of up to 100,000 dictionary entries, followed原创 2020-05-16 08:27:05 · 226 阅读 · 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 · 554 阅读 · 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 · 386 阅读 · 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 · 308 阅读 · 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 · 163 阅读 · 0 评论