自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(31)
  • 资源 (1)
  • 收藏
  • 关注

原创 eclipse打不开无法使用的原因有

eclipse打不开的原因1.jdk版本过高或过低2.eclipse的32位/64位是否与jdk的32位和64位相符

2019-06-19 15:33:07 1480

转载 最大子串和

题目描述一个大小为n的数组a1到an(−10^4≤ai≤10^4)。请你找出一个连续子段,使子段长度为奇数,且子段和最大。输入第一行为T(1≤T≤5),代表数据组数。之后每组数据,第一行为n(1≤n≤10^5),代表数组长度。之后一行n个数,代表a1到an。输出每组数据输出一行,表示满足要求的子段和最大值样例输入141 2 3 4样例输出

2017-04-24 21:25:58 597

原创 Another Server

Another ServerTime Limit: 1000msCase Time Limit: 1000msMemory Limit: 262144KB64-bit integer IO format: %lld      Java class name: MainSubmit Status PID: 52517Font Size: +

2017-04-24 10:21:06 339

原创 ch追妹

n个点的一张无向图,ch站在a点,ch要追的妹子站在b点。r_clover为了让ch安心训练,要阻止ch追妹。ch每走一步,r_clover就会挖断一条路。ch和r_clover均采用最优策略,问ch能不能追到妹子输入第一行为数据组数T(T≤10)。每组数据的第一行为四个数 n,m,a,b(1≤a,b≤n≤20; 1≤m≤80),分别表示点数,边数,ch的位置,妹子的位

2017-04-24 09:58:38 426

原创 Captcha Cracker

Time Limit: 1000msMemory Limit: 262144KB64-bit integer IO format: %lld      Java class name: MainSubmit Statuswww.02469.com(本网页纯属虚构,如有雷同,纯属巧合),是一个资源丰富的教学资源网站,好学的SK同学经常访问这个网站。通常来说

2017-04-22 21:34:38 751

原创 Euclidean Geometry

在某节无聊的课上,SK同学随意画了一个三角形然后用尺子量了一下,发现三边长分别为,然后SK同学拿起圆规分别以三个顶点为圆心画了三个圆,为了使图形看上去更美观,这三个圆两两不相交也互不包含,这里认为圆的半径可以是(称之为“点圆”),现在SK同学想知道怎么画圆才能使三个圆的面积之和最大。Input第一行是一个正整数,表示测试数据的组数,每组测试数据只有一行,包含三个不超

2017-04-22 20:33:20 319

转载 二叉树重建

Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in the nodes. This is an example of one of her creati

2017-04-20 19:58:37 239

原创 Chinese Girls' Amusement

Time Limit: 2 Seconds Memory Limit: 65536 KB You must have heard that the Chinese culture is quite different from that of Europe or Russia. So some Chinese habits seem quite unusual or even weird

2017-04-18 21:08:48 4129

原创 大数/2

大数除以2#include<iostream>#include<cstdio>#include<cstring>using namespace std;int a[2009];int b[2009];int main(){ string s; cin>>s; int l=s.size();// memset(a,0,sizeof(a)); mem

2017-04-18 20:44:19 287

原创 Binary to Decimal

The boring Three-God get a boring question. So you have to transform a binary number to a decimal.Input There are muti-case. For each case, there are a binary number, the binary number’s len

2017-04-10 21:52:36 817 1

原创 You are my brother

Little A gets to know a new friend, Little B, recently. One day, they realize that they are family 500 years ago. Now, Little A wants to know whether Little B is his elder, younger or brother. Input

2017-04-10 19:58:36 484

原创 大数加法

任意找两个数字输入,得出两数之和;#include<iostream>#include<cstdio>#include<cstring>using namespace std;string add(string a,string b){ if(a.size()<b.size()) swap(a,b);//交换 int i,j,k=0; for(i=a

2017-04-10 19:09:07 159

原创 TIME

原址 Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” “).now given the current time, please tell us how can it be expressed by the digit

2017-04-10 10:04:54 254

原创 Hard to Play

Time Limit: 2 Seconds Memory Limit: 65536 KB MightyHorse is playing a music game called osu!. After playing for several months, MightyHorse discovered the way of calculating score in osu!:

2017-04-07 15:13:07 412

原创 Java Beans

原址 *Time limit2000 ms Memory limit65536 k BOSLinux* There are N little kids sitting in a circle, each of them are carrying some java beans in their hand. Their teacher want to select M kids who

2017-04-07 15:03:49 189

原创 Wow! Such Doge!

HUD—4847 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2146 Accepted Submission(s): 1325Problem Description Chen, Adrian (November 7, 2

2017-03-31 16:55:40 753

原创 TIANKENG’s restaurant

hud-4883 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 3074 Accepted Submission(s): 1139Problem Description TIANKENG manages a restaura

2017-03-29 17:25:10 176

原创 海选女主角

hud-2022 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 61582 Accepted Submission(s): 27244Problem Description potato老师虽然很喜欢教书,但是迫于生活压力,

2017-03-29 16:28:16 196

原创 洗牌问题

FZU-1026 设2n张牌分别标记为1, 2, …, n, n+1, …, 2n,初始时这2n张牌按其标号从小到大排列。经一次洗牌后,原来的排列顺序变成n+1, 1, n+2, 2, …, 2n, n。即前n张牌被放到偶数位置2, 4, …, 2n,而后n张牌被放到奇数位置1, 3, …, 2n-1。可以证明对于任何一个自然数n,经过若干次洗牌后可恢复初始状态。现在你的的任务

2017-03-27 20:50:48 1672 2

原创 最大黑区域

FZU-1082 二值图像是由黑白两种像素组成的矩形点阵,图像识别的一个操作是求出图像中最大黑区域的面积。请设计一个程序完成二值图像的这个操作。黑区域由黑像素组成,一个黑区域中的每个像素至少与该区域中的另一个像素相邻,规定一个像素仅与其上、下、左、右的像素相邻。两个不同的黑区域没有相邻的像素。一个黑区域的面积是其所包含的像素的个数。Input 输入由多个测试例组成。每个测试例的第一行含两个

2017-03-24 17:40:41 3699

原创 Number lengths

FZU -1050 Accept: 1102 Submit: 2275 Time Limit: 1000 mSec Memory Limit : 32768 KBProblem DescriptionN! (N factorial) can be quite irritating and difficult to compute for large values of N. So

2017-03-24 17:32:53 480 1

原创 Bus to Udayland

Codeforces_711Atime limit per test2 seconds memory limit per test256 megabytes input :standard input output :standard output ZS the Coder and Chris the Baboon are travelling to Udayland! To get

2017-03-22 21:40:14 489

原创 Chris and Magic Square

Code Forces—711B time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder and Chris the Baboon arrived at the entrance of Udayland. Th

2017-03-22 21:15:57 196

原创 king's trouble I

Time Limit: 1000 MS Memory Limit: 131072 K DescriptionLong time ago, a king occupied a vast territory. Now there is a problem that he worried that he did not know how much of the perimeter of his t

2017-03-20 21:23:38 176

原创 Lisp em

Time Limit: 1000 MS Memory Limit: 131072 K DescriptionThere are two lists and they may be intersected with each other. You must judge if they are intersected and find the first node they have in co

2017-03-20 19:29:14 208

原创 NYOJ—杨辉三角

原题链接 时间限制:1000 ms | 内存限制:65535 KB 难度:1 描述 还记得中学时候学过的杨辉三角吗?具体的定义这里不再描述,你可以参考以下的图形: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 输入 输入数据包含多个测试实例,每个测试实例的输入只包含一个正整数n(1<=n<=30),表示将要输出的杨辉三角的层数。

2017-03-20 10:22:33 281

原创 Easy Problem VI

SCU-4486 Time Limit: 1000 MS Memory Limit: 131072 K DescriptionIn this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum.

2017-03-20 10:11:54 238

原创 Easy Problem V

这里写链接内容Time Limit: 1000 MS Memory Limit: 131072 K DescriptionKaiwen is an excellent student who loves studying The final exam is approaching in N hours, and now he starts to prepare for his 《Comput

2017-03-20 10:03:35 228

原创 CF——Dishonest Sellers

Dishonest Sellers time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Igor found out discounts in a shop and decided to buy n items. Discounts

2017-02-28 15:55:38 282

原创 The Third Cup is Free

Panda and his friends were hiking in the forest. They came across a coffee bar inside a giant tree trunk. Panda decided to treat everyone a cup of coffee and have some rest. Mr. Buck, the bartender g

2017-02-25 20:37:54 339

转载 Til the Cows Come Home

Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to get ba

2017-02-25 20:23:04 165

安卓开发的内容提供者便签.rar

基于安卓开发平台ecplise ADT的便签应用,内容提供者

2019-06-13

空空如也

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

TA关注的人

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