2015年3月4日
摘要: 这是Codeforces Round #295 (Div. 2)的B 题,题意为:给出n, m, 有两种操作,n 减一 和 n 乘以 2,问最少要多少次操作才能把n 变成 m。Sample test(s)input4 6output2input10 1output9input 是 n 和 m ,ou... 阅读全文
posted @ 2015-03-04 18:01 Rex7 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #295 div2 的A题,题意是判读一个字符串是不是全字母句,也就是这个字符串是否包含了26个字母,无论大小写。Sample test(s)input12toosmallwordoutputNOinput35TheQuickBrownFoxJumpsOverThe... 阅读全文
posted @ 2015-03-04 15:50 Rex7 阅读(274) 评论(0) 推荐(0) 编辑