自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(130)
  • 收藏
  • 关注

转载 第六届福建省大学生程序设计竞赛不完全题解

昨天自己队做了一下第六届福建省赛,感觉有些蒙,赛后补了几道题,能力有限,一共只出A了7道题A题 Super Mobile Charger题目链接http://acm.fzu.edu.cn/problem.php?pid=2212水题#include<iostream>#include<cstdio>#include&l...

2016-08-10 19:59:00 527

转载 2016多校联合训练contest4 1012Bubble Sort

Bubble SortTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 224Accepted Submission(s): 147 Problem DescriptionP is a permut...

2016-07-29 10:34:00 187

转载 2016 Multi-University Training Contest 2 第一题Acperience

AcperienceTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) Problem DescriptionDeep neural networks (DNN) have shown significant improvements in several app...

2016-07-21 20:18:00 200

转载 HDU 5726 GCD (2016 Multi-University Training Contest 1)

Time Limit:5000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uDescriptionGive you a sequence ofN(N \leq 100, 000)integers :a_{1},...,a_{n}(0 ...

2016-07-20 18:45:00 158

转载 扩展欧几里德算法求不定方程

扩展欧几里得算法是数论当中一种常用的算法,他可以用如下的姿势来表达:设a, b为不全为0的整数,则存在整数x和y,使得 gcd(a, b) = a*x + b*y。扩展欧几里得算法的代码实现:#include <cstdio>#include <cstring>#define ll long longusing names...

2016-07-18 16:58:00 229

转载 UVa 11137 - Ingenuous Cubrency

题目:统计一个数字可以有多少种立方和的表示方式。分析:dp,完全背包。又见整数拆分。#include <bits/stdc++.h>using namespace std;int cube[25];long long F[10001];int main(){ for (int i = 0 ; i <= 21 ; ++ i)...

2016-07-16 16:08:00 135

转载 codeforces 359 C - Robbers' watch

Time Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionRobbers, who attacked the Gerda's cab, are very successful in covering from the kingdom ...

2016-07-15 19:49:00 183

转载 codeforces 360 C - NP-Hard Problem

转载自:http://www.cnblogs.com/shawn-ji/p/5668293.html#3470095原题:DescriptionRecently, Pari and Arya did some research about NP-Hard problems and they found theminimum vertex coverprobl...

2016-07-14 15:50:00 117

转载 codeforces 361 D - Friends and Subsequences

Time Limit:2000MSMemory Limit:524288KB64bit IO Format:%I64d & %I64uDescriptionMike and !Mike are old childhood rivals, they are opposite in everything they do, except...

2016-07-12 21:03:00 138

转载 codeforces 361 C - Mike and Chocolate Thieves

Time Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionBad news came to Mike's village, some thieves stole a bunch of chocolates from the local...

2016-07-12 20:55:00 119

转载 codeforces 361 B - Mike and Shortcuts

Time Limit:3000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uDescriptionRecently, Mike was very busy with studying for exams and contests. Now he is going...

2016-07-12 20:35:00 124

转载 codeforces 361 A - Mike and Cellphone

题目链接:http://codeforces.com/contest/689/problem/ADescriptionWhile swimming at the beach, Mike has accidentally dropped his cellphone into the water. There was no worry as he bo...

2016-07-12 20:30:00 140

转载 Find your present (2) (位异或)

Problem DescriptionIn the new year party, everybody will get a "special present".Now it's your turn to get your special present, a lot of presents now putting on the desk, and only one ...

2016-03-02 20:49:00 152

转载 UVA 10763 Foreign Exchange

Time Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionYour non-profit organization (iCORE-internationalConfederation ofRevolverEnthusiast...

2015-10-25 20:16:00 115

转载 练习2 J题 - 多项式求和

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription多项式的描述如下: 1 - 1/2 + 1/3 - 1/4 + 1/5 - 1/6 + ... 现在请你求出该多项式的前n项的和。Input...

2015-10-23 19:06:00 272

转载 练习2 I题 - 水仙花数

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription春天是鲜花的季节,水仙花就是其中最迷人的代表,数学上有个水仙花数,他是这样定义的: “水仙花数”是指一个三位数,它的各位数字的立方和等于其本身,比如:153=1^3+...

2015-10-23 18:53:00 306

转载 练习2 H题 - 求数列的和

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription数列的定义如下: 数列的第一项为n,以后各项为前一项的平方根,求数列的前m项的和。Input输入数据有多组,每组占一行,由两个整...

2015-10-23 18:37:00 190

转载 练习2 G题 - 数值统计

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription统计给定的n个数中,负数、零和正数的个数。Input输入数据有多组,每组占一行,每行的第一个数是整数n(n<100),表示需要统计的...

2015-10-23 18:03:00 163

转载 练习2 F题 - 平方和与立方和

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription给定一段连续的整数,求出他们中所有偶数的平方和以及所有奇数的立方和。Input输入数据包含多组测试实例,每组测试实例包含一行,由两个整数...

2015-10-23 17:33:00 187

转载 练习2 E题 - 求奇数的乘积

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription给你n个整数,求他们中所有奇数的乘积。Input输入数据包含多个测试实例,每个测试实例占一行,每行的第一个数为n,表示本组数据一共有n个,...

2015-10-23 16:58:00 165

转载 练习2 D 题- 第几天?

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription给定一个日期,输出这个日期是该年的第几天。Input输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample in...

2015-10-23 10:26:00 140

转载 练习2 C - 成绩转换

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription输入一个百分制的成绩t,将其转换成对应的等级,具体转换规则如下: 90~100为A; 80~89为B; 70~79为C; 60~69为D; 0~...

2015-10-23 09:13:00 181

转载 练习2 B题 - 求绝对值

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription求实数的绝对值。Input输入数据有多组,每组占一行,每行包含一个实数。Output对于每组输入数据,输出它...

2015-10-23 09:07:00 221

转载 练习2 A - ASCII码排序

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。Input输入数据有多组,每组占一行,有三个字符组成,之间无空...

2015-10-23 08:58:00 147

转载 十月例题F题 - City Game

F -City GameTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluBob is a strategy game programming specialist. In his new city building game the gaming environmentis as...

2015-10-16 19:55:00 153

转载 K - 计算球体积

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription根据输入的半径值,计算球的体积。Input输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。Outpu...

2015-10-15 19:55:00 143

转载 J - 计算两点间的距离

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription输入两点坐标(X1,Y1),(X2,Y2),计算并输出两点间的距离。Input输入数据有多组,每组占一行,由4个实数组成,分别表示x1,y...

2015-10-15 19:39:00 192

转载 I题 - A+B for Input-Output Practice (VIII)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to calculate the sum of some integers.InputInput contai...

2015-10-15 19:27:00 157

转载 H - A+B for Input-Output Practice (VII)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b.InputThe input will consist of a ser...

2015-10-15 19:19:00 234

转载 G - A+B for Input-Output Practice (VI)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to calculate the sum of some integers.InputInput contai...

2015-10-15 19:16:00 167

转载 F题 - A+B for Input-Output Practice (V)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to calculate the sum of some integers.InputInput contai...

2015-10-15 19:07:00 163

转载 E题 - A+B for Input-Output Practice (IV)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate the sum of some integers.InputInput contai...

2015-10-15 19:01:00 276

转载 D题 - A+B for Input-Output Practice (III)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b.InputInput contains multiple test cases...

2015-10-14 21:03:00 271

转载 C题 - A+B for Input-Output Practice (II)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b.InputInput contains an integer N in ...

2015-10-14 20:56:00 253

转载 B题 - A+B for Input-Output Practice (I)

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b. Too easy?! Of course! I specially designed the pro...

2015-10-14 20:49:00 132

转载 A题 - A + B Problem

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionCalculateA + B.InputEach line will contain two integersAandB. Pr...

2015-10-14 20:37:00 116

转载 hdu 2078

复习时间Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription为了能过个好年,xhd开始复习了,于是每天晚上背着书往教室跑。xhd复习有个习惯,在复习完一门课后,他总是挑一门...

2015-08-26 20:39:00 89

转载 hdu 1229 超级大水题

Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription读入两个小于10000的正整数A和B,计算A+B。需要注意的是:如果A和B的末尾K(不超过8)位...

2015-08-25 21:51:00 123

转载 夜夜夜

夜虽深,人未眠你,耳边飞翔 天性使然还是怪我让你疯狂我,无力抵抗你却叫上伙伴,一拥而上让我痛,让我痒 分一更,秒一更,身惨梦不成,我竟不作声至今时,身之穷困,独坐愁苦。夜不能寐,侧耳远听,吟啸成群,边声四起。晨坐听之,不觉泪下。嗟乎,能不慨然!能不悲哉!此刻饿了累了也倦了我只想说,特么的让我睡一会可好,可好可好,可好可好,可好可好,可好可好,可好...

2015-08-25 17:49:00 183

转载

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。...

2015-08-25 17:48:00 109

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除