![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟题
别动我的白羊毛
这个作者很懒,什么都没留下…
展开
-
Hard Refactoring
Problem H. Hard RefactoringInput file: hard.inOutput file: hard.outHelen had come upon a piece of code that uses a lot of “magical constants”. She found a logical expressionthat checks if an integer x原创 2017-10-02 19:11:15 · 306 阅读 · 0 评论 -
2018 Multi-University Training Contest 4 E Matrix from Arrays(hdu 6336)
题目链接:hdu 6336 Problem E. Matrix from ArraysSample Input1 3 1 10 1005 3 3 3 32 3 3 32 3 5 85 1 10 109 99 999 1000 Sample Output11011068223833076541 题意:给一个无限的矩阵,给出子矩阵左上角和...原创 2018-08-01 20:22:23 · 230 阅读 · 0 评论 -
ACM-ICPC 2018 徐州赛区网络预赛 F. Features Track(水,暴力模拟)
题目链接:https://nanti.jisuanke.com/t/31458样例输入 182 1 1 2 22 1 1 1 42 1 1 2 22 2 2 1 4001 1 11 1 1样例输出 3题意:t组样例,n帧,k个特征,每个特征是二维向量,求最长连续出现的特征的长度,<a,b><b,a>是不同的特征思路:题目理解了,就暴...原创 2018-09-11 18:42:54 · 156 阅读 · 0 评论 -
ACM-ICPC 2018 沈阳赛区网络预赛 I. Lattice's basics in digital electronics(trie树,模拟)
题目链接:https://nanti.jisuanke.com/t/31450 样例输入 215 932 010033 11100 1011101 0110104 1010108 00111 100114 0111119 0101A6Fd021171c562Fde18 349 000150 0100151 01114DB247226...原创 2018-09-08 19:54:26 · 360 阅读 · 0 评论 -
ACM-ICPC 2018 徐州赛区网络预赛 I. Characters with Hash(签到,模拟)
题目链接:https://nanti.jisuanke.com/t/31461样例输入 23 zoMl6 YYJSNPI样例输出 610 题意:给一个长度为n的字符串s,再给一个字符c,将字符串每一个字符的ASCII码-c的ASCII码,保留前导零,使得数字为两位,然后去掉整串数字的前导零,输出数字的长度。思路:直接模拟就好,注意全是0的情况,输出1#i...原创 2018-09-09 19:49:57 · 270 阅读 · 0 评论 -
ACM-ICPC 2018 焦作赛区网络预赛 A. Magic Mirror(水)
题目链接:https://nanti.jisuanke.com/t/31710样例输入 2JessieJustin样例输出 Good guy!Dare you say that again?题意:jessie这个人问魔镜谁最美,魔镜说她的名字(不区分大小写),就输出Good guy!否则就输出Dare you say that again?思路:注意不区分大小写就好了...原创 2018-09-15 17:56:29 · 202 阅读 · 0 评论 -
ACM-ICPC 2018 徐州赛区网络预赛 G. Trace(set,模拟)
题目链接:https://nanti.jisuanke.com/t/31459 样例输入 31 44 13 3样例输出 10题意:n个矩阵,不存在包含,矩阵左下角都在(0,0),给右上角坐标,后来的矩阵会覆盖前面的矩阵,求矩阵周长思路:set按照x从大到小排序,从后往前遍历,放入set,找到当前矩阵在set中的位置,当前矩阵的x或者y,与set中后一位矩阵的x...原创 2018-09-12 15:13:19 · 262 阅读 · 0 评论 -
ACM/ICPC 2018亚洲区预选赛北京赛站网络赛 B. Tomb Raider(暴力枚举)
题目链接:hihoCoder #1829 : Tomb Raider时间限制:1000ms单点时限:1000ms内存限制:256MB描述Lara Croft, the fiercely independent daughter of a missing adventurer, must push herself beyond her limits when she discov...原创 2018-09-26 16:35:15 · 188 阅读 · 0 评论 -
ACM/ICPC 2018亚洲区预选赛北京赛站网络赛 D.80 Days(水)
题目链接:https://hihocoder.com/problemset/problem/1831?sid=1389856时间限制:1000ms单点时限:1000ms内存限制:256MB描述80 Days is an interesting game based on Jules Verne's science fiction "Around the World in Eig...原创 2018-09-22 18:41:56 · 448 阅读 · 0 评论