码迷,mamicode.com
首页 >  
搜索关键字:names    ( 11603个结果
Bzoj3224 / Tyvj 1728 普通替罪羊树
Description 您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作:1. 插入x数2. 删除x数(若有多个相同的数,因只删除一个)3. 查询x数的排名(若有多个相同的数,因输出最小的排名)4. 查询排名为x的数5. 求x的前驱(前驱定义为小于x,且最大的数)6. 求x ...
分类:其他好文   时间:2017-04-18 16:59:16    阅读次数:226
PAT甲题题解-1008. Elevator (20)-大么个大水题,这也太小瞧我们做题者的智商了
如题。。。 #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string.h> using namespace std; //太水了好吧。。。 int n; int tim ...
分类:其他好文   时间:2017-04-18 16:03:54    阅读次数:128
第九章,小型资源管理器
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace SmallResou ...
分类:其他好文   时间:2017-04-18 00:47:50    阅读次数:305
假币问题
题目链接:http://134.208.3.122/JudgeOnline/problem.php?id=1180 题目描述 居然有假币!!! 事情是这样的,现在猪肉涨了,但是农民的工资却不见涨啊,没钱怎么买猪肉啊。老王这就去买猪肉,结果找来的零钱中有假币!!!可惜老王一不小心把它混进了一堆真币里面 ...
分类:其他好文   时间:2017-04-17 21:13:55    阅读次数:224
POJ3675 Telescope 圆和多边形的交
POJ3675 用三角剖分可以轻松搞定,数据也小 随便AC。 ...
分类:其他好文   时间:2017-04-17 20:51:05    阅读次数:150
倒杨辉三角形
题目链接:http://134.208.3.122/JudgeOnline/problem.php?id=1179 题目描述 Fans喜欢图形,而且喜欢把图形倒过来欣赏。有一次,他看见杨辉三角形 了,觉得很新鲜,于是就把它们大大小小地摆布出来。输入一些整数n(1≤n≤10),读入其每个整数,以该整数 ...
分类:其他好文   时间:2017-04-17 19:51:47    阅读次数:191
永久修改MySQL字符集(适用Mysql5.5、Mysql5.6、Mysql5.7以上)
在my.ini文件里添加三个参数: 1.在[client]下添加 default-character-set=utf8 2.在[mysqld]下添加 character-set-server=utf8 init_connect = 'SET NAMES utf8' ...
分类:数据库   时间:2017-04-17 19:48:59    阅读次数:223
C++使用cin.getline使用例题
1 #include 2 #include 3 #include 4 using namespace std; 5 class stu{ 6 private: 7 char name[32]; 8 char ID[32]; 9 int age; 10 int score[4]; 11 in... ...
分类:编程语言   时间:2017-04-17 19:21:58    阅读次数:208
417读取文件夹中的所有子目录信息doc。。。
package lld; import java.io.File;import java.util.ArrayList;import java.util.Arrays; public class L4 { public static String [] getFileName(String path ...
分类:其他好文   时间:2017-04-17 18:41:08    阅读次数:219
Codeforces 801C Voltage Keepsake 结构体sort排序+贪心
#include using namespace std; struct In{ long long a, b; double t; }s[100005]; bool cmp(In p, In q) { if(p.t p) { x = pow / (sum - p); if(x <= dis) { ... ...
分类:编程语言   时间:2017-04-17 18:34:37    阅读次数:361
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!