Asimple
Asimple
全部文章
分类
LeetCode(2)
未归档(188)
归档
标签
去牛客网
登录
/
注册
Asimple的博客
一个学渣的学习记录笔记
全部文章
(共190篇)
Kattis之旅——Rational Arithmetic
Input The first line of input contains one integer, giving the number of operations to perform.Then follow the operations, one per line, each of the ...
Kattis
模拟
2017-04-27
0
528
Kattis之旅——Number Sets
You start with a sequence of consecutive integers. You want to group them into sets. You are given the interval, and an integer P. Initially, each nu...
Kattis
并查集
2017-04-27
0
504
Kattis之旅——Divisible Subsequences
Given a sequence of positive integers, count all contiguous subsequences (sometimes called substrings, in contrast to subsequences, which may leave ou...
Kattis
思维
2017-04-26
0
616
Kattis之旅——Prime Path
The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room...
Kattis
BFS
2017-04-26
0
580
Kattis之旅——Inverse Factorial
题目意思就是已知n的阶乘,求n。 当输入的阶乘小于10位数的时候,我们可以用long long将字符串转化成数字,直接计算。 而当输入的阶乘很大的时候,我们就可以利用位数去大概的估计n。 //Asimple #include <bits/stdc++.h> using na...
Kattis
数论
2017-04-26
0
653
Kattis之旅——Perfect Pth Powers
We say that x is a perfect square if, for some integer b, x = b2. Similarly, x is a perfect cube if, for some integer b, x = b3. More generally, x is ...
Kattis
数论
2017-04-25
0
872
Kattis之旅——Eight Queens
In the game of chess, the queen is a powerful piece. It can attack by moving any number of spaces in its current row, in its column or diagonally. In...
Kattis
模拟
2017-04-21
0
550
hiho一下 第145周
题目1 : 智力竞赛 时间限制: 5000ms 单点时限: 1000ms 内存限制: 256MB 描述 ...
hiho一下
DP
2017-04-11
0
369
hiho一下 第144周
题目1 : 机会渺茫 时间限制: 5000ms 单点时限: 1000ms 内存限制: 256MB 描述 ...
hiho一下
2017-04-11
0
415
JOBDU 题目1131:合唱队形
时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:4546 解决:1445 <dl> <dt> 题目描述: </dt> <dd> N位同学站成一排,音乐老师要请其中的(N-K)位同学出列,使得剩下的K位同学...
九度
DP
2017-03-23
0
405
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页