2015年5月13日
摘要: //Link https://www.hackerrank.com/challenges/sherlock-and-squares 1 from math import sqrt # 用什么,引什么,减少浪费和错误可能性 2 3 4 def main(): 5 t = int(raw_... 阅读全文
posted @ 2015-05-13 19:12 sangocare 阅读(179) 评论(0) 推荐(0) 编辑
摘要: //自己 1 def main(): 2 t = int(raw_input()) 3 for _ in range(t): 4 units = 0 5 b, w = map(int, raw_input().strip().split(' ')) ... 阅读全文
posted @ 2015-05-13 18:33 sangocare 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Link: https://www.hackerrank.com/challenges/acm-icpc-team/submissions/code/11617807 1 def count_max_topics(konw_topics): 2 max_topics = 0 3 m... 阅读全文
posted @ 2015-05-13 16:42 sangocare 阅读(313) 评论(0) 推荐(0) 编辑