house_cat
house_cat
全部文章
ACM
JAVA(5)
其他(3)
文(1)
算法导论(2)
计算机图形学(4)
面试(2)
题解(2)
归档
标签
去牛客网
登录
/
注册
house_cat
不要忘记努力
全部文章
/ ACM
(共10篇)
Box and Ball
题目描述 We have N boxes, numbered 1 through N. At first, box 1 contains one red ball, and each of the other boxes contains one white ball. Snuke ...
模拟
2018-04-04
0
441
Rearrangement
In a two dimensional array of integers of size 2×n2 \times n2×n, is it possible to rearrange integers so that the sum of two adjacent elements (which ...
博弈论
模拟
2018-04-06
0
364
Nearby Bicycles
<p>With fast developments of information and communication technology, many cities today have established bicycle sharing systems. The key compo...
模拟
贪心
2018-04-06
0
373
Amsterdam Distance
题目描述 Your friend from Manhattan is visiting you in Amsterdam. Because she can only stay for a short while, she wants to see as many tourist attract...
模拟
2018-04-08
0
487
一元三次方程
题目描述 有形如:ax 3+bx 2+cx+d=0 这样的一个一元三次方程。给出该方程中各项的系数(a,b,c,d 均为实数),并约定该方程存在三个不同实根(根的范围在-100至100之间),且根与根之差的绝对值>=1。要求三个实根。 输入 四个实数:a,b,c,d 输...
模拟
2018-04-09
0
637
K-th K
题目描述 You are given an integer sequence x of length N. Determine if there exists an integer sequence a that satisfies all of the following condition...
模拟
2018-04-19
0
491
Wanna go back home
题目描述 Snuke lives on an infinite two-dimensional plane. He is going on an N-day trip. At the beginning of Day 1, he is at home. His plan is describe...
模拟
2018-04-11
0
436
Prefix and Suffix
题目描述 Snuke is interested in strings that satisfy the following conditions: The length of the string is at least N. The first N characters eq...
模拟
2018-04-13
0
568
栈:火车进站
题目描述 这里有n列火车将要进站再出站…… 但是,每列火车只有1节---那就是车头…… 描述 有n列火车按1到n的顺序从东方左转进站,这个车站是南北方向的,它虽然无限长,只可惜是一个死胡同,而且站台只有一条股道,火车只能倒着从西方出去,而且每列火车必须进站,先进后出。 (某生:...
模拟
2018-07-11
0
696
Complier
Complier [2019福建省赛] 模拟题应该有信心写,多出一些样例 当/* 与// 在一起的时候总会出错,一旦出现了这些有效的 应该把它删掉不对后面产生影响 #include<bits/stdc++.h> using namespace std; char s[1000...
模拟
2019-09-14
0
430