python
文章平均质量分 79
CZYQ_Cz1
这博客主人很懒,什么都没有留下来。
展开
-
codeforces题目之1175 D. Array Splitting
#荒废了一段时间,总是懒得打开电脑(代码都用手机…)答题于20190610题目D. Array Splittingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array a1,a2,…,an ...原创 2019-06-16 01:45:06 · 297 阅读 · 0 评论 -
codeforces题目之1175 C. Electrification
#荒废了一段时间,总是懒得打开电脑(代码都用手机…)答题于20190607题目C. Electrificationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAt first, there was a legend relat...原创 2019-06-16 01:15:09 · 326 阅读 · 0 评论 -
codeforces题目之390 A. Inna and Alarm Clock
#荒废了一段时间,总是懒得打开电脑(代码都用手机…)答题于20190606题目B. Catch Overflow!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a function f written ...原创 2019-06-16 00:45:12 · 142 阅读 · 0 评论 -
codeforces题目之1175 A. From Hero to Zero
题目A. From Hero to Zerotime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer n and an integer k.In one step you can do one...原创 2019-06-15 18:20:02 · 316 阅读 · 0 评论 -
codeforces题目之394 A. Counting Sticks
A. Counting Stickstime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhen new students come to the Specialized Educational and Scientific Cent...原创 2019-06-15 17:34:51 · 156 阅读 · 0 评论 -
codeforces题目之390 A. Inna and Alarm Clock
题目A. Inna and Alarm Clocktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInna loves sleeping very much, so she needs n alarm clocks in total ...原创 2019-06-15 16:33:43 · 211 阅读 · 0 评论 -
Codeforces题目之1 A. Theatre Square
题目A. Theatre Squaretime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTheatre Square in the capital city of Berland has a rectangular shape with...原创 2019-06-15 15:21:59 · 351 阅读 · 0 评论 -
Python之正则表达式 re模块
Python之正则表达式 re模块re模块正则表达式昨天写了一道cf的题目Spreadsheets(题目链接:1B. Spreadsheets,题目解析链接:每日一记20190613——CodeForces题目之1 B.Spreadsheets),解题过程中需要使用到正则表达式,所以急忙急赶看了一下re模块,在之前只是粗略了解过正则表达式的一些东西。果然,只有真正使用的时候,学起来才有感悟。r...原创 2019-06-15 01:09:00 · 198 阅读 · 0 评论 -
CodeForces题目之1 B.Spreadsheets
题目B. Spreadsheetstime limit per test10 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputIn the popular spreadsheets systems (for example, in Excel) the following n...原创 2019-06-14 01:03:40 · 240 阅读 · 0 评论 -
CodeForces题目之1145 A. Thanos Sort
题目A. Thanos Sorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThanos sort is a supervillain sorting algorithm, which works as follows: if t...原创 2019-06-02 01:23:19 · 327 阅读 · 0 评论 -
CodeForces题目之399 A. Pages
#荒废了一段时间,总是懒得打开电脑(代码都用手机…)题目A. Pagestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputUser ainta is making a web site. This time he is going t...原创 2019-06-13 01:02:50 · 240 阅读 · 0 评论 -
CodeForces题目之393 A. Nineteen
题目A. Nineteentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice likes word “nineteen” very much. She has a string s and wants the string t...原创 2019-05-31 23:12:07 · 344 阅读 · 0 评论 -
codeforces题目之1176 A. Divide it!
#荒废了一段时间,总是懒得打开电脑(代码都用手机…)答题于20190611题目A. Divide it!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer n.You can perf...原创 2019-06-16 23:34:11 · 531 阅读 · 0 评论