上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 题目链接:http://acm.fzu.edu.cn/problem.php?pid=1759 题目:Problem Description Given A,B,C, You should quickly calculate the result of A^B mod C. (1<=A,C<=100 阅读全文
posted @ 2018-06-04 16:20 Dillonh 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6287 题目: 口算训练 Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total S 阅读全文
posted @ 2018-05-29 14:50 Dillonh 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/982 A. Row time limit per test:1 second time limit per test:1 second memory limit per test:256 megabytes memory lim 阅读全文
posted @ 2018-05-18 17:39 Dillonh 阅读(792) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/984 A. Game time limit per test:2 seconds memory limit per test:512 megabytes input:standard input output:standard 阅读全文
posted @ 2018-05-16 19:03 Dillonh 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/979/problem/B B. Treasure Hunt time limit per test1 second time limit per test1 second memory limit per test:256 me 阅读全文
posted @ 2018-05-15 19:50 Dillonh 阅读(484) 评论(0) 推荐(1) 编辑
摘要: 原文地址:https://blog.csdn.net/shutfuckingup/article/details/23846603 Ctrl+D 选词 (反复按快捷键,即可继续向下同时选中下一个相同的文本进行同时编辑)Ctrl+G 跳转到相应的行Ctrl+J 合并行(已选择需要合并的多行时)Ctrl 阅读全文
posted @ 2018-05-15 19:24 Dillonh 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 首先,max_element和min_elemetn看字面意思是求最大值和最小值,这个确实是这个意思。不过,需要注意的是,他返回的是最大值(最小值)的地址,而非最大值(最小值)。对于一般数组的用法则是int pos = max_element(a, a + n) - a,min_element同理。 阅读全文
posted @ 2018-05-15 18:32 Dillonh 阅读(2632) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://nanti.jisuanke.com/t/16957 题目: In this winter holiday, Bob has a plan for skiing at the mountain resort. This ski resort has MMM differen 阅读全文
posted @ 2018-05-07 21:46 Dillonh 阅读(2611) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4857 题面是中文题面,就不解释题意了,自己点击链接去看下啦~这题排序有两个条件,一个是按给定的那个序列(即输入的u,v,优先级最高),一个是序号从小到大(优先级次之)。正向的话由于这两个条件不好维护,所 阅读全文
posted @ 2018-05-07 19:55 Dillonh 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://hihocoder.com/problemset/problem/1175 代码实现如下: 阅读全文
posted @ 2018-05-07 17:52 Dillonh 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://hihocoder.com/problemset/problem/1174 题目是中文题面我就不说题意了,要看题面的请点击上方链接~ 代码实现如下: 阅读全文
posted @ 2018-05-07 17:43 Dillonh 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2176 题目: Problem Description m堆石子,两人轮流取.只能在1堆中取.取完者胜.先取者负输出No.先取者胜输出Yes,然后输出怎样取子.例如5堆 5,7,8,9,10先取者胜,先取 阅读全文
posted @ 2018-05-05 22:14 Dillonh 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1846 题目: Problem Description 十年前读大学的时候,中国每年都要从国外引进一些电影大片,其中有一部电影就叫《勇敢者的游戏》(英文名称:Zathura),一直到现在,我依然对于电影中 阅读全文
posted @ 2018-05-05 22:04 Dillonh 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2516 题目: Problem Description 1堆石子有n个,两人轮流取.先取者第1次可以取任意多个,但不能全部取完.以后每次取的石子数不能超过上次取子数的2倍。取完者胜.先取者负输出"Seco 阅读全文
posted @ 2018-05-05 22:00 Dillonh 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://www.nowcoder.com/acm/contest/118/E 看到大数直接套JAVA,但是后面MekakuCityActors大佬和我说可以找规律(>_<),仔细想想确实可以(顺便%MekakuCityActors大佬),下面是我的java实现代码: 阅读全文
posted @ 2018-05-05 16:04 Dillonh 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 在众多博客网站中,博客园的一个亮点是能够自己设计个人首页,你可以通过自己的喜好来设计出自己喜欢的个人主页,突现自己的与众不同~那么我们该如何来设置呢?大致步骤如下: 1.首先,我们点进自己博客的管理的设置选项,如下图: 2.选择一个时区和国家(这个不影响后续的设计……),在博客皮肤处选择一个自己喜欢 阅读全文
posted @ 2018-05-04 17:23 Dillonh 阅读(6957) 评论(8) 推荐(3) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5407 题目: Problem Description CRB has N different candies. He is going to eat K candies.He wonders how m 阅读全文
posted @ 2018-05-04 14:49 Dillonh 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/975 A. Aramic script time limit per test:1 second time limit per test:1 second memory limit per test:256 megabytes 阅读全文
posted @ 2018-05-03 00:39 Dillonh 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/976 A. Minimum Binary Number time limit per test:1 second memory limit per test:256 megabytes input:standard input 阅读全文
posted @ 2018-05-02 19:54 Dillonh 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2671 题目: Joe works in a maze. Unfortunately, port 阅读全文
posted @ 2018-05-01 11:26 Dillonh 阅读(370) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页