-
【DTOJ】2701:问候
DTOJ 2701:问候 解题报告 2017.11.08 第一版 ——由 翱翔的逗比w 原创,引用 yzl_rex 的CSDN博客 题目信息: 题目描述 问候人类! 输入 输入一行,一个名字,如human(字符串型,定义为string) 输出 输出一行,在输入的名字前加“Hello ”,最后加!号 样例输入 kitty...
2018-06-17 21:35:00
-
2017.11.12 第三章 字符串、向量和数组
3.1 命名空间的using声明 std::cin 表示从标准输入中读取内容。此处使用作用域操作符(::)表示:编译器从操作符左侧名字所示的作用域中寻找右侧那个名字。 而使用 using声明 是最安全的一种方法。 using 声明具有如下格式: using namespace::name; 例如: #in...
2018-06-17 21:34:54
-
A Simple Task CodeForces - 11D
A Simple Task CodeForces - 11D 题意:输出一个无向图的简单环数量。简单环指无重复边的环。保证图无重边自环。 ans[i][j]表示"包含i中的点,以i中第一个点为起点,以j为终点"的路径条数。 对于某个i,枚举当前终点j(显然不能是首个点),产生一个状态。再枚举上一次...
2018-06-17 21:34:58
-
hdu 6231 -- K-th Number(二分+尺取)
题目链接 Problem Description Alice are given an array A [ 1.. N ] with N numbers. Now Alice want to build an array B by a parameter K as following rules: Initially, the array B is empty. Consider each interval in array A. If the length of this inter...
2018-06-17 21:34:49
-
自我介绍
今天是2017-11-13,在12:58:01,我创建了我的第一篇文章 先做一个自我介绍:我是一个高一 准退役 OIer,刚刚打完了NOIP。之前其实已经退役了一次,然后高一被老师叫回来 强行奶一口 。 所以我就用了两个月复习了NOIP。无论接下来NOIP结果如何,这次肯定是奶不活啦!我...
2018-06-17 21:34:48
-
poj_1284_Primitive root
We say that integer x, 0 x p, is a primitive root modulo odd prime p if and only if the set { (x i mod p) | 1 = i = p-1 } is equal to { 1, ..., p-1 }. For example, the consecutive powers of 3 modulo 7 are 3, 2, 6, 4, 5, 1, and thus 3 is a primitive...
2018-06-17 21:34:41
-
hdu_1452_Happy 2004 (乘法逆元
Consider a positive integer X,and let S be the sum of all positive integer divisors of 2004^X. Your job is to determine S modulo 29 (the rest of the division of S by 29). Take X = 1 for an example. The positive integer divisors of 2004^1 are 1, 2, 3...
2018-06-17 21:34:33
-
基于数组实现双端栈
栈底分别在数组的两端,规定数组大小为128,int类型。 可以实现的操作为验空、验满、分别向两个栈添加元素、分别删除栈顶元素、分别展示栈内所有元素。 代码如下: #includeiostream using namespace std; typedef int StackElement; const int STACK_CAPACITY = 128;...
2018-06-17 21:34:13
-
hdu_3501_Calculation 2
Given a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A is said to be coprime to B if A, B share no common positive divisors except 1. InputFor each test case, there is a line...
2018-06-17 21:34:06
-
C++使用htslib库读入和写出bam文件
...
2018-06-17 21:34:02
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash




