- 博客(13)
- 资源 (2)
- 收藏
- 关注
转载 信道安全
做的第一个SPFA#include #include #include #include using namespace std; struct stu { int x,y; double z; }a[100010]; int b[10010],first[10010],next[100010]; double dis[100010]; int main() { int n
2016-08-01 15:36:59 257
原创 c++超内存问题
hdu5777 domino Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 523 Accepted Submission(s): 269 Problem Description Little
2016-07-31 17:24:31 1390
原创 hdu5778
abs Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 808 Accepted Submission(s): 293 Problem Description Given a number x, as
2016-07-31 13:03:42 348
转载 一个Sqrt函数引发的血案
一个Sqrt函数引发的血案 作者: 码农1946 来源: 博客园 发布时间: 2013-10-09 11:37 阅读: 41635 次 推荐: 106 原文链接 [收藏] 好吧,我承认我标题党了,不过既然你来了,就认真看下去吧,保证你有收获。 我们平时经常会有一些数据运算的操作,需要调用sqrt,exp,abs等函数,那么时候你有没有想过:
2016-07-31 12:55:11 245
原创 cf567c
C. Geometric Progression time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycarp loves geometric progressio
2016-06-01 12:04:37 896
原创 cf295b
B. Greg and Graph time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Greg has a weighed directed graph, consis
2016-05-31 20:30:48 567
原创 简单结构体排序
【题意】打气球的志愿者们比较蠢!于是,打的气球越多,题目越水>_ #include #include #include #include using namespace std; const int N = 12, M = 0, Z = 1e9 + 7, ms63 = 0x3f3f3f3f; int casenum, casei; int n, m; paira[N]; voi
2016-05-28 11:19:14 183
转载 hdupj 1231
动态规划专题 最大连续子序列 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 26559 Accepted Submission(s): 11972 Problem Description 给定K个
2016-05-17 21:02:16 197
转载 费马小定理
费马小定理 编辑 费马小定理(Fermat Theory)是数论中的一个重要定理,其内容为: 假如p是质数,且(a,p)=1,那么 a(p-1)≡1(mod p)。即:假如a是整数,p是质数,且a,p互质(即两者只有一个公约数1),那么a的(p-1)次方除以p的余数恒等于1。
2016-05-16 20:48:33 1015
转载 2012年亚洲区域赛东京站
C. One-Dimensional Cellular Automaton Time Limit: 3000ms Memory Limit: 131072KB 64-bit integer IO format: %lld Java class name: Main Submit Status PID: 33681 [PDF Link] Th
2016-05-16 17:33:48 221
转载 2015多校联盟
https://www.bnuoj.com/v3/contest_show.php?cid=6612#standing 必然能AK!!
2016-05-16 13:26:40 153
原创 华中农大网络同步赛
Problem J: Arithmetic Sequence Time Limit: 1 Sec Memory Limit: 128 MB Submit: 1804 Solved: 308 [Submit][Status][Web Board] Description Giving a number sequence A with length n, you
2016-05-15 20:15:09 273
原创 cf580b
B. Kefa and Company time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kefa wants to celebrate his first big s
2016-05-13 20:41:16 186
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人