水题
文章平均质量分 68
ah_yeah
龟速前进中。。。
展开
-
HDU - 5363 Key Set
Key SetTime Limit:1000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64uDescriptionsoda has a set with integers . A set is called key set if the sum of integers in原创 2016-07-23 15:55:42 · 285 阅读 · 0 评论 -
HDOJ -- 1061 Rightmost Digi
Rightmost DigitTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionGiven a positive integer N, you should output the most right digit of N^N.原创 2016-07-23 14:45:06 · 290 阅读 · 0 评论 -
CF - 500A New Year Transportation
New Year TransportationTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionNew Year is coming in Line World! In this world, there are n cells numb原创 2016-09-18 17:00:04 · 399 阅读 · 0 评论 -
CF366A Dima and Guards
Dima and GuardsTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionNothing has changed since the last round. Dima and Inna still love each other a原创 2016-08-24 09:18:30 · 274 阅读 · 0 评论 -
CF 597A Divisibility
DivisibilityTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionFind the number of k-divisible numbers on the segment [a, b]. In other words you n原创 2016-08-23 20:04:49 · 1020 阅读 · 0 评论 -
HDOJ -- 2504 又见gcd
又见GCDTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description有三个正整数a,b,c(0 Input第一行输入一个n,表示有n组测试数据,接下来的n行,每行输入两个正整数a,b。 Output原创 2016-08-11 17:58:28 · 193 阅读 · 0 评论 -
HDOJ -- 1002 大数A+B
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job原创 2016-08-11 17:53:32 · 302 阅读 · 0 评论 -
HDOJ -- 2041 超级楼梯
超级楼梯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem Description有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法? Input输入数据首先包含一个整数N,表示测试实例的个原创 2016-08-11 17:47:49 · 779 阅读 · 0 评论 -
HDOJ -- 1201 18岁生日
18岁生日Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionGardon的18岁生日就要到了,他当然很开心,可是他突然想到一个问题,是不是每个人从出生开始,到达18岁生日时所经过的天数都是一样的呢?似乎并不全都是这样,所以他想原创 2016-08-11 17:44:55 · 434 阅读 · 0 评论 -
小火山的计算能力
小火山的计算能力Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 471 Solved: 123Description别人说小火山的计算能力不行,小火山很生气,于是他想证明自己,现在有一个表达式,他想计算出来。Input首先是一个t(1Output输出运算结果。Sample Input原创 2016-08-10 22:00:22 · 267 阅读 · 0 评论 -
CF660A -- Co-prime Array
Co-prime ArrayTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionYou are given an array of n elements, you must make it a co-prime array in as few原创 2016-08-22 21:12:33 · 515 阅读 · 0 评论 -
HDOJ-2124之Repair the Wall
Repair the WallTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionLong time ago , Kitty lived in a small village. The air was fresh and the scenery was ve...原创 2016-07-22 17:07:39 · 317 阅读 · 0 评论 -
HDOJ 1280 前m大的数(sort)
前m大的数(sort)Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription还记得Gardon给小希布置的那个作业么?(上次比赛的1005)其实小希已经找回了原来的那张数表,现在她想确认一下她的答案是否正确,但是整个的答案是很...原创 2016-07-22 08:52:48 · 341 阅读 · 0 评论 -
bulb
DescriptionVasya wants to turn on Christmas lights consisting of m bulbs. Initially, all bulbs are turned off. There are n buttons, each of them is connected to some set of bulbs. Vasya can press a...原创 2016-07-21 20:44:46 · 332 阅读 · 1 评论 -
统计英文中倒数第二个英文单词的个数
需求:从键盘上输入一行英文,求导数第二个单词的个数。(假设英文中不存在标点符号)(问题出处:C语言程序设计案例教程第二版P59,T10)#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char lines[60]={0}; int i=0,j=0; print...原创 2019-03-12 10:49:11 · 695 阅读 · 0 评论