online judge HDU
文章平均质量分 75
Albert__s
一直奔跑总会有出头之日。
展开
-
HDU 1061 Rightmost Digit 【快速幂 Or 规律(瞎搞)】
Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N. InputThe input contains several test cases. The first line of the input is a single integer T原创 2017-01-29 23:52:37 · 387 阅读 · 0 评论 -
HDU 6034 Balala Power! 【模拟】【大数高精度】
Balala Power!Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2941 Accepted Submission(s): 648Problem DescriptionTalented原创 2017-07-26 11:57:43 · 667 阅读 · 0 评论 -
HDU 6033 Add More Zero 【数学】【基础】
Add More ZeroTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 547 Accepted Submission(s): 390Problem DescriptionThere is a young原创 2017-07-26 11:52:02 · 689 阅读 · 0 评论 -
HDU 6140 Hybrid Crystals【题意】【思维】
题目链接:2017 Multi-University Training Contest - Team 8 - HProblem Description Kyber crystals, also called the living crystal or simply the kyber, and known as kaiburr crystals in ancient times, were ra原创 2017-08-17 21:17:53 · 723 阅读 · 3 评论 -
2016 ICPC 大连 C Game of Taking Stones 【威佐夫博弈+大数+高精度】
Problem DescriptionTwo people face two piles of stones and make a game. They take turns to take stones. As game rules, there are two different methods of taking stones: One scheme is that you can ta原创 2017-05-01 20:22:41 · 1526 阅读 · 0 评论 -
HDU 2072 单词数 【字符串】【基础】
Problem Descriptionlily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里不同单词的总数。下面你的任务是帮助xiaoou333解决这个问题。 Input有多组数据,每组一行,每组就是一篇小文章。每篇小文章都是由小写字母和空格组成,没有标点符号,遇到#时表示输入结束。 Output每组只输出一个整数,其单独成原创 2017-02-17 22:01:57 · 522 阅读 · 0 评论 -
HDU 2057 A + B Again 【16进制加法】
Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calculate the sum of them,and print it in hexadecimal原创 2017-02-06 22:20:23 · 539 阅读 · 0 评论 -
HDU 1005 Number Sequence 【找循环周期(瞎搞)】
Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n). I原创 2017-02-07 13:38:03 · 422 阅读 · 0 评论 -
HDU 2045 不容易系列之(3)—— LELE的RPG难题 【递推】
Problem Description人称“AC女之杀手”的超级偶像LELE最近忽然玩起了深沉,这可急坏了众多“Cole”(LELE的粉丝,即"可乐"),经过多方打探,某资深Cole终于知道了原因,原来,LELE最近研究起了著名的RPG难题:有排成一行的n个方格,用红(Red)、粉(Pink)、绿(Green)三色涂每个格子,每格涂一色,要求任何相邻的方格不能同色,且首尾两格也不同色.原创 2017-02-06 22:02:49 · 357 阅读 · 0 评论 -
HDU 1098 Ignatius's puzzle 【数学(特殊值总结) Or 规律(瞎搞)】
Problem DescriptionIgnatius is poor at math,he falls across a puzzle problem,so he has no choice but to appeal to Eddy. this problem describes that:f(x)=5*x^13+13*x^5+k*a*x,input a nonegative intege原创 2017-02-06 20:56:39 · 374 阅读 · 0 评论 -
HDU 1163 Eddy's digital Roots 【九余数定理 Or 规律(瞎搞)】
Problem DescriptionThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resultin原创 2017-02-06 19:41:43 · 721 阅读 · 0 评论 -
HDU 1097 A hard puzzle 【快速幂 Or 规律(瞎搞)】
Problem Descriptionlcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,so lcy makes the problem easier than begin.原创 2017-01-30 00:03:27 · 423 阅读 · 0 评论 -
HDU 6043 KazaQ's Socks 【规律】
KazaQ's SocksTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 462 Accepted Submission(s): 300Problem DescriptionKazaQ wears sock原创 2017-07-26 12:02:25 · 439 阅读 · 0 评论