Xylon_
Xylon_
全部文章
未归档
C++(1)
Codeforce(32)
Codefroce(2)
CPU(1)
HDU(21)
Java(1)
NOI(1)
POJ(6)
PTA(9)
Python(4)
二分(1)
傅里叶变换(1)
头文件(1)
技术日常(1)
数塔(1)
数论(1)
着色(1)
算法笔记(3)
蓝桥(1)
计蒜客(1)
资源分享(1)
题解(5)
归档
标签
去牛客网
登录
/
注册
Xylon
或许是不知梦的缘故,流离之人追逐幻影
全部文章
/ 未归档
(共115篇)
【VJudge】Find The Multiple
原题地址 题意: 输入一个数,找到这个数的倍数,这个数字只能由1和0组成。 使用深搜,有两种递增方式,每次 n*10 或 n*10+1 #include<iostream> #include<algorithm> #include<cstring> #in...
2019-01-20
0
597
【牛客】国庆集训派对day1 J Princess Principal 栈模拟括号匹配
原题地址 阿尔比恩王国(the Albion Kingdom)潜伏着一群代号“白鸽队(Team White Pigeon)”的间谍。在没有任务的时候,她们会进行各种各样的训练,比如快速判断一个文档有没有语法错误,这有助于她们鉴别写文档的人受教育程度。 这次用于训练的是一个含有n个括号的文档。括号一...
2019-01-19
0
386
【PTA L2-014】列车调度 set
L2-014 列车调度 (25 分) 火车站的列车调度铁轨的结构如下图所示。 两端分别是一条入口(Entrance)轨道和一条出口(Exit)轨道,它们之间有N条平行的轨道。每趟列车从入口可以选择任意一条轨道进入,最后从出口离开。在图中有9趟列车,在入口处按照{8,4,2,5,3,9,...
2019-01-18
0
909
C++中getline()、cin.getline()、gets()等函数的用法
1、getline() // 接受一个字符串,可以接收空格并输出,需包含“#include” #include<iostream> #include<string> using namespace std; int main () { string str; ge...
2019-01-18
0
808
【PTA 1001】A+B Format
1001 A+B Format (20 分) Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (u...
2019-01-18
0
571
【CF 1100C】NN and the Optical Illusion 正弦定理
C. NN and the Optical Illusion NN is an experienced internet user and that means he spends a lot of time on the social...
2019-01-18
0
345
【CF 1096B】Substring Removal
B. Substring Removal You are given a string ss of length nn consisting only of lowercase Latin letters. A substring o...
2018-12-31
0
687
【CF 1092B】Teams Forming
B. Teams Forming There are nn students in a university. The number of students is even. The ii-th student has program...
2018-12-24
0
386
【CF1088B】Ehab and subtraction
B. Ehab and subtraction You're given an array aa. You should repeat the following operation kk times: find the minimu...
2018-12-09
0
449
有10瓶药,每瓶有10粒药,其中有一瓶是变质的。好药每颗重1克,变质的药每颗比好药重0.1克。问怎样用天秤称一次找出变质的那瓶药。
有10瓶药,每瓶有10粒药,其中有一瓶是变质的。好药每颗重1克,变质的药每颗比好药重0.1克。问怎样用天秤称一次找出变质的那瓶药。 先将这十瓶药由一到十按顺序排好,或在瓶上贴上数字,然后在一号瓶上拿出一粒药,二号拿两粒,如此类推,十号拿十粒。总共是五十五颗药。再将这些药一次称。多出的量,那个...
2018-12-02
0
709
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页