- 博客(19)
- 收藏
- 关注
原创 codeforces 题解
1285A Mezo Playing Zoma 查看题解 字符串 1285B Just Eat It! 查看题解 最大连续子序列 1285C Fadi and LCM 查看题解 数论 1285D Dr. Evil Underscores 查看题解 dfs+位运算 ...
2020-01-10 15:42:39 1235
原创 codeforces 1294D MEX maximizing
D. MEX maximizingtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecall that MEX of an array is a minimum non-negative integer that does not ...
2020-01-23 21:51:04 650
原创 codeforces 1294C Product of Three Numbers
C. Product of Three Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given one integer number n. Find three distinct integers a...
2020-01-23 21:32:07 489
原创 codeforces 1294B Collecting Packages
B. Collecting Packagestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a robot in a warehouse and n packages he wants to collect. The ...
2020-01-23 21:13:33 510
原创 codeforces 1294A Collecting Coins
A. Collecting Coinstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has three sisters: Alice, Barbara, and Cerene. They’re collecting...
2020-01-23 20:58:43 435
原创 HDU 5340 Three Palindromes
Three PalindromesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2185 Accepted Submission(s): 787Problem DescriptionCan we divided a give...
2020-01-21 13:20:47 148
原创 codeforces 1293C NEKO's Maze Game
C. NEKO’s Maze Gametime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output3R2 as DJ Mashiro - Happiness BreezeIce - DJ Mashiro is dead or aliveN...
2020-01-20 22:49:54 333
原创 codeforces 1293B JOE is on TV!
B. JOE is on TV!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output3R2 - Standby for ActionOur dear Cafe’s owner, JOE Miller, will soon take par...
2020-01-20 22:26:43 377
原创 codeforces 1293A ConneR and the A.R.C. Markland-N
A. ConneR and the A.R.C. Markland-Ntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSakuzyo - ImprintingA.R.C. Markland-N is a tall building w...
2020-01-20 22:11:15 654
原创 codeforces 1288B Yet Another Meme Problem
B. Yet Another Meme Problemtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTry guessing the statement from this picture http://tiny.cc/ogyoiz....
2020-01-16 17:27:53 515
原创 codeforces 1288A Deadline
A. Deadlinetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAdilbek was assigned to a special project. For Adilbek it means that he has n days...
2020-01-16 17:10:08 387 1
原创 HDU 3948 The Number of Palindromes
The Number of PalindromesTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Problem DescriptionNow, you are given a string S. We want to know how many distinct sub...
2020-01-16 16:53:40 162
原创 PTA 天梯赛 L2-013 红色警报 (25分)
L2-013 红色警报 (25分)战争中保持各个城市间的连通性非常重要。本题要求你编写一个报警程序,当失去一个城市导致国家被分裂为多个无法连通的区域时,就发出红色警报。注意:若该国本来就不完全连通,是分裂的k个区域,而失去一个城市并不改变其他城市之间的连通性,则不要发出警报。输入格式:输入在第一行给出两个整数N(0 < N ≤ 500)和M(≤ 5000),分别为城市个数(于是默认城市...
2020-01-14 14:05:18 569
原创 HDU 4638 Group
GroupTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionThere are n men ,every man has an ID(1…n).their ID is unique. Whose ID is i and i-1 are fr...
2020-01-14 00:43:09 185
原创 codeforces 1285D Dr. Evil Underscores
Dr. Evil Underscorestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, as a friendship gift, Bakry gave Badawy n integers a1,a2,…,an and c...
2020-01-11 22:52:35 548
原创 codeforces 1285C Fadi and LCM
C. Fadi and LCMtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Osama gave Fadi an integer X, and Fadi was wondering about the minimum p...
2020-01-11 18:59:31 813 3
原创 codeforces 1285B Just Eat It!
B. Just Eat It!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Yasser and Adel are at the shop buying cupcakes. There are n cupcake typ...
2020-01-11 16:38:50 883
原创 codeforces 1285A Mezo Playing Zoma
A. Mezo Playing Zomatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Mezo is playing a game. Zoma, a character in that game, is initiall...
2020-01-11 16:09:22 390
原创 codeforces 1287A Angry Students
Angry Studentstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt’s a walking tour day in SIS.Winter, so t groups of students are visiting Torz...
2020-01-10 15:37:38 476 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人