摘要: Median String time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given two strings  阅读全文
posted @ 2019-04-01 00:38 CV小萌新 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 著名的王牌间谍 007 需要执行一次任务,获取敌方的机密情报。已知情报藏在一个地下迷宫里,迷宫只有一个入口,里面有很多条通路,每条路通向一扇门。每一扇门背后或者是一个房间,或者又有很多条路,同样是每条路通向一扇门…… 他的手里有一张表格,是其他间谍帮他收集到的情报,他们记下了每扇门的编号,以及这扇门 阅读全文
posted @ 2019-03-31 14:31 CV小萌新 阅读(783) 评论(0) 推荐(1) 编辑
摘要: C. Masha and two friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Masha and two 阅读全文
posted @ 2018-11-24 22:51 CV小萌新 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=3468 A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 144616 Accepted: 44933 阅读全文
posted @ 2018-10-22 21:08 CV小萌新 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1298 给出圆的圆心和半径,以及三角形的三个顶点,问圆同三角形是否相交。相交输出"Yes",否则输出"No"。(三角形的面积大于0)。 Input第1行:一个数T, 阅读全文
posted @ 2018-10-15 23:09 CV小萌新 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/contest/1066 1066 A. Vova and Train 题意:Vova想坐火车从1点到L点,在路上v的整数倍的点上分布着灯笼,而在路上从l到r处停着别的火车,它挡着Vova的视线使他看不到灯笼。给定L,v,l,r求Vova能看到的 阅读全文
posted @ 2018-10-15 00:34 CV小萌新 阅读(225) 评论(0) 推荐(0) 编辑