- 博客(25)
- 收藏
- 关注
原创 CF967C(二分+细节)
传送门题面:C. Stairs and Elevatorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the year of 30XX30XX participants of some...
2018-04-30 12:43:42 1031
原创 CF967A(细节模拟)
传送门题面:A. Mind the Gaptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThese days Arkady works as an air traffic controller at a large airport. He co...
2018-04-30 12:27:53 390
原创 HDU 2222(AC自动机模板)
传送门题面:Keywords SearchTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 73541 Accepted Submission(s): 25203Problem Description ...
2018-04-29 20:46:33 130
原创 HDU 5510(KMP+思维)
传送门题面:BazingaTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 6560 Accepted Submission(s): 2003 Problem DescriptionLadies and g...
2018-04-29 11:55:38 245
原创 HDU 6273(树状数组+思维)
传送门题面:Problem J. Master of GCDHakase has n numbers ina line. At first, they are all equal to 1. Besides, Hakase is interested in primes.She will choose a continuous subsequence [l,r] and a prime param...
2018-04-27 20:57:52 612
原创 HDU 6266(思维+规律)
传送门 题面:Problem C. Hakase and NanoHakase and Nano are playing an ancientpebble game (pebble is a kind of rock). There are n packs ofpebbles, and the i-th pack contains ai pebbles. They take turns to...
2018-04-27 19:34:45 1151
原创 HDU 6264(思维)
传送门题面:Problem A. Super-palindromeYou are given a string that is consistedof lowercase English alphabet. You are supposed to change it into asuper-palindrome string in minimum steps. You can change one...
2018-04-27 19:14:50 482
原创 POJ 3974 (Manacher)
传送门题面:PalindromeTime Limit: 15000MS Memory Limit: 65536K Total Submissions: 11325 Accepted: 4299 DescriptionAndy the smart computer science student was attending an algo...
2018-04-25 16:24:55 369
原创 HDU 2846(Trie树)
传送门 题面:RepositoryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 6650 Accepted Submission(s): 2143Problem Description When you go shopping...
2018-04-25 16:20:00 182
原创 HDU 4825(01 Trie树)
传送门传送门:Xor SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others)Total Submission(s): 3926 Accepted Submission(s): 1724Problem Description Zeus 和 Prometheus 做了一个游戏...
2018-04-25 14:04:30 195
原创 Codeforces 900B (Java高精度或模拟)
传送门题面:B. Position in Fractiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a fraction . You need to find the first occurrence of digit c...
2018-04-23 13:06:00 436
原创 HDU 2256(矩阵快速幂)
传送门 题面:Problem of PrecisionTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1681 Accepted Submission(s): 1036Problem Description Input The...
2018-04-21 10:12:08 167
原创 HDU 6029(思维)
传送门 题面:Graph TheoryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1220 Accepted Submission(s): 553Problem Description Little Q loves pl...
2018-04-21 09:57:45 409
原创 HDU 6026(最短路)
传送门 题面:Deleting EdgesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1154 Accepted Submission(s): 407Problem Description Little Q is cra...
2018-04-21 09:33:05 351
原创 HDU 6025(思维)
传送门题面:Coprime SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1964 Accepted Submission(s): 926Problem Description Do you know what ...
2018-04-21 09:16:50 259
原创 HDU 6024(dp)
传送门题目描述:Building ShopsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2047 Accepted Submission(s): 724Problem Description HDU’s n classroom...
2018-04-20 22:54:21 112
原创 HDU 6030(矩阵快速幂+规律)
传送门题目描述:Happy NecklaceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1146 Accepted Submission(s): 491Problem Description Little Q wants to...
2018-04-20 22:26:44 789
原创 Codeforces 964B(贪心)
题目链接:点击打开链接 题目描述:B. Messagestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n incoming messages for Vasya. The i-th message is goi...
2018-04-18 13:53:22 220
原创 BZOJ1012(线段树/单调队列)
题目链接:点击打开链接题目描述:1012: [JSOI2008]最大数maxnumberTime Limit: 3 Sec Memory Limit: 162 MBSubmit: 12966 Solved: 5584[Submit][Status][Discuss]Description 现在请求你维护一个数列,要求提供以下两种操作:1、 查询操作。语法:Q L 功能:查询当前数列中末尾L个...
2018-04-11 23:17:53 222
原创 Codeforces 962D(优先队列)
题目链接:点击打开链接题目描述:D. Merge Equalstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array of positive integers. While there are at lea...
2018-04-11 22:16:00 476
原创 Codeforces 962C(dfs)
题目链接:点击打开链接题目描述:C. Make a Squaretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a positive integer nn, writ...
2018-04-11 13:38:02 183
原创 Codeforces 960B(优先队列)
题目链接:点击打开链接题目描述:B. Minimize the errortime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two arrays A and B, each of size n. The error, E...
2018-04-11 13:08:26 169
原创 “景驰科技杯”2018年华南理工大学程序设计竞赛 H-对称与反对称(逆元)
题目链接:点击打开链接题目描述:题目分析: 对于这个题目因为根据题目所给的条件可知: Aij=Bij+Cij(1) Aji=Bji+Cji(2) (1)-(2)可得 Aij-Aji=Bij-Bji+(Cij-Cji); 而又有 Bij=Bji Cij=-Cji 因此得到式子 2*Cij=Aij-Aji Cij=(Aij-Aji)/2 ...
2018-04-09 14:03:25 230
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人