
新生训练
DouglasConnor
这个作者很懒,什么都没留下…
展开
-
String Task - CodeForces118A
问题##Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given string, consisting if uppercase...原创 2018-12-05 18:06:44 · 212 阅读 · 1 评论 -
HDU1527取石子游戏
取石子游戏题目链接Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10072 Accepted Submission(s): 5829Problem Description有两堆石子,数量任意,可以不同。游戏开始由两个人轮流...原创 2018-12-14 20:44:41 · 514 阅读 · 0 评论 -
HDU2039三角形
Watermelontime limit per test:1 secondmemory limit per test:64 megabytesinput:standard inputoutput:standard outputOne hot summer day Pete and his friend Billy decided to buy a watermelon. They ch...原创 2018-12-09 20:28:21 · 246 阅读 · 0 评论 -
CodeForces - 4A Watermelon
WatermelonOne hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the scales ...原创 2018-12-09 20:45:12 · 558 阅读 · 0 评论 -
HDU1232 畅通工程
畅通工程Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 72083 Accepted Submission(s): 38494Problem Description某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道...原创 2018-12-09 21:34:25 · 194 阅读 · 0 评论 -
HDU 6292赛题分析
赛题分析Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 1109 Accepted Submission(s): 561Problem Description著名出题人小Q每次比赛后都会写一份《赛题分析》,包含比赛概况、每...原创 2018-12-09 21:49:22 · 262 阅读 · 0 评论 -
Drazil and Date
Drazil and Datetime limit per test1 secondmemory limit per test256 megabytesinput:standard inputoutput:standard outputSomeday, Drazil wanted to go on date with Varda. Drazil and Varda live on Car...原创 2018-12-09 22:07:34 · 209 阅读 · 0 评论 -
HDU2027统计元音
统计元音Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 100031 Accepted Submission(s): 38432Problem Description统计每个元音字母在字符串中出现的次数。Input输入数据...原创 2018-12-09 22:17:35 · 223 阅读 · 0 评论 -
HDU2005第几天? c++
第几天?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 207853 Accepted Submission(s): 72633Problem Description给定一个日期,输出这个日期是该年的第几天。Input输入...原创 2018-12-09 22:31:10 · 236 阅读 · 0 评论 -
HDU1061 Rightmost Digit(二分求幂,快速幂,尾数规律)c++
Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 72230 Accepted Submission(s): 26695Problem DescriptionGiven a positive int...原创 2018-12-21 22:02:21 · 295 阅读 · 0 评论 -
HDU2099整除的尾数 c++
整除的尾数题目链接Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 52238 Accepted Submission(s): 22099Problem Description一个整数,只知道前几位,不知道末二位,被另一个整数...原创 2018-12-14 20:12:23 · 433 阅读 · 0 评论 -
HDU1049Climbing Worm c++
Climbing WormTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23482 Accepted Submission(s): 16066Problem DescriptionAn inch worm is at the...原创 2018-12-14 19:52:12 · 227 阅读 · 0 评论 -
George and Accommoditon c++
题目出处George has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered the university. Now they are moving into a dormitory.George ...原创 2018-12-05 20:41:52 · 203 阅读 · 0 评论 -
Stones on the Table c++
题目出处There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the table so that any two neighboring stones had different color...原创 2018-12-05 21:42:13 · 255 阅读 · 0 评论 -
HDU1000A+B problem c++
计算a+b,没什么好说的。主要是学无限输入while(cin>>a>>b){}while(scanf("%d%d",&a,&b)!=EOF) {}while(~scanf(&q原创 2018-12-05 21:57:26 · 248 阅读 · 0 评论 -
HDU1002A + B Problem II c++
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 452533 Accepted Submission(s): 87724Problem DescriptionI have a very simp...原创 2018-12-19 23:31:16 · 538 阅读 · 0 评论 -
HDU1106排序 c++
原题Problem Description输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就是由若干个‘0’组成的,这时这个整数就是0)。 你的任务是:对这些分割得到的整数,依从小到大的顺序排序输出。 Input输入包含多组测试用例,每组输入数据只有一行数字(数字之间...原创 2018-12-07 15:42:05 · 287 阅读 · 0 评论 -
HDU2000ASCII码排序 c++
原题题目ASCII码排序输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符Input输入数据有多组,每组占一行,有三个字符组成,之间无空格Output对于每组输入数据,输出一行,字符中间用一个空格分开思路思路很简单,直接两两比大小,换值,按序输出代码#include<iostream>using namespace std;int mai...原创 2018-12-07 15:57:26 · 281 阅读 · 0 评论 -
HDU2002 c++
题目计算球体积根据输入的半径值,计算球的体积Input输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。Output输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。注意PI=3.14159274/3得到的是整数保留小数点后3位代码#include<iostream>using namespace std;#define ...原创 2018-12-07 16:10:16 · 225 阅读 · 0 评论 -
HDU2101 A + B Problem Too c++
题目**A + B Problem Too **This problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should output no fo...原创 2018-12-07 16:20:52 · 177 阅读 · 0 评论 -
HDU1284钱币兑换问题 c++
钱币兑换问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13376 Accepted Submission(s): 8071Problem Description在一个国家仅有1分,2分,3分硬币,将钱N兑换成硬币有很多种...原创 2018-12-14 19:42:07 · 803 阅读 · 0 评论 -
HDU1019 Least Common Multiple c++
Least Common MultipleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 65257 Accepted Submission(s): 24876Problem DescriptionThe least comm...原创 2018-12-21 22:26:59 · 193 阅读 · 0 评论