思维
While.True
这个作者很懒,什么都没留下…
展开
-
HPU-17-python8个实验
1.日期转化(11月为例)#2019.11;import mathwhile True : weekstr = "星期一星期二星期三星期四星期五星期六星期日" date = eval(input("请输入日期数字(1-30)")) pos = (date - 1 + 4) % 7#第11月的1号是周五 pos = pos * 3 cnt = mat...原创 2019-12-05 22:39:56 · 515 阅读 · 0 评论 -
Codeforces Round #570 (Div. 3)C. Computer Game
原题地址:http://codeforces.com/contest/1183/problem/CVova is playing a computer game. There are in totalnnturns in the game and Vova really wants to play all of them. The initial charge of his laptop ...原创 2019-07-31 15:05:50 · 173 阅读 · 0 评论 -
Codeforces Round #570 (Div. 3)B. Equalize Prices
原题出处:http://codeforces.com/contest/1183/problem/BThere arennproducts in the shop. The price of theii-th product isaiai. The owner of the shop wants to equalize the prices of all products. Howev...原创 2019-07-31 15:07:54 · 206 阅读 · 0 评论