随笔分类 -  模拟

CodeForces 500 A. New Year Transportation
摘要:Description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in cell 阅读全文
posted @ 2016-08-22 11:16 惟愿。。。 阅读(311) 评论(0) 推荐(0)
CodeForces 670 A. Holidays(模拟)
摘要:Description On the planet Mars a year lasts exactly n days (there are no leap years on Mars). But Martians have the same weeks as earthlings — 5 work 阅读全文
posted @ 2016-08-19 23:13 惟愿。。。 阅读(276) 评论(0) 推荐(0)
(模拟、进制转换)
摘要:Description 在一些知名的表格处理系统中(比如:excel表格),我们经常用大写的字母来表示列,例如A表示第1列,B表示第2列,第26列用Z来表示,同时第27列我们用AA来表示,第28列我们用AB来表示,第29列我们用AC来表示,AZ表示第52列,ZZ之后我们就需要用3个字母来表示列了。 阅读全文
posted @ 2016-08-16 15:03 惟愿。。。 阅读(239) 评论(0) 推荐(0)