1787: [Ahoi2008]Meet 紧急集合 Description Input Output Sample Input 6 4 1 2 2 3 2 4 4 5 5 6 4 5 6 6 3 1 2 4 4 6 6 6 Sample Output 5 2 2 5 4 1 6 0 【题解】 记住一 ...
分类:
其他好文 时间:
2016-10-18 11:22:55
阅读次数:
178
C. Socks time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard output C. Socks time limit per tes ...
分类:
移动开发 时间:
2016-10-17 23:01:11
阅读次数:
339
获取敌情 Input Output 对于每一组测试案例,在每一行输出破解后的字符串Ttr。 Sample Input Sample Output Solution 靠,历时悠久 最开始压根就没管两边相等的情况,直接输出 然后发现有相等的情况,开始各种讨论: 话说我的其实可以不讨论的,直接输出相等的比 ...
分类:
其他好文 时间:
2016-10-17 20:57:11
阅读次数:
276
摘自: http://www.cnblogs.com/known/archive/2010/09/08/1821792.html 1. input and output 2. 处理文件 ...
分类:
编程语言 时间:
2016-10-16 19:23:21
阅读次数:
104
通过捕捉键盘动作来进行交互,头文件为conio.h,是console input output的缩写,捕捉用户键盘按键的函数为getch(),通过键值码可以找到对应的按键。 #include<stdio.h> #include<string.h> #include<stdlib.h> #includ ...
分类:
其他好文 时间:
2016-10-16 19:12:04
阅读次数:
251
BZOJ 3211 花神游历各国 线段树题解 3211: 花神游历各国 Description Input Output 每次x=1时,每行一个整数,表示这次旅行的开心度 每次x=1时,每行一个整数,表示这次旅行的开心度 Sample Input 4 1 100 5 5 5 1 1 2 2 1 2 ...
分类:
其他好文 时间:
2016-10-14 20:10:06
阅读次数:
155
Position: http://codevs.cn/problem/1183/ List Codevs1183 泥泞的道路 List Description Input Output Sample Input Sample Output HINT Solution Code Description ...
分类:
其他好文 时间:
2016-10-13 23:59:04
阅读次数:
391
虽说阿里云推出了云盾服务,但是自己再加一层防火墙总归是更安全些,下面是我在阿里云vps上配置防火墙的过程,目前只配置INPUT。OUTPUT和FORWORD都是ACCEPT的规则 一、检查iptables服务状态 首先检查iptables服务的状态 说明iptables服务是有安装的,但是没有启动服 ...
分类:
其他好文 时间:
2016-10-13 21:21:33
阅读次数:
150
3643: Phi的反函数 Description Input Output Sample Input 4 Sample Output 5 HINT Source By Zky Solution 首先答案和N一定是同阶的,所以,可以很暴力的线筛扫一遍求解。 然后根据欧拉函数的式子,我们实际上是可以爆 ...
分类:
其他好文 时间:
2016-10-09 19:38:29
阅读次数:
129
uniq命令简介:此个命令读取输入文件,并比较相邻的行。1.命令格式:uniq[OPTION]...[INPUT[OUTPUT]]2.命令功能:第二个及以后更多个重复行将被删去,行比较是根据所用字符集的排序序列进行的。该命令加工后的结果写到输出文件中。输入文件和输出文件必须不同。如果输入文件..
分类:
系统相关 时间:
2016-10-08 20:58:36
阅读次数:
216