上一页 1 2 3 4 5 6 7 8 9 ··· 33 下一页
摘要: The merchant Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 6864 Accepted: 2375 Description There are N cities in a country, and there is 阅读全文
posted @ 2019-08-12 11:11 友人-A 阅读(231) 评论(0) 推荐(0) 编辑
摘要: C. MaratonIME plays Nim time limit per test : 2.0 smemory limit per test : 64 MBinputstandard inputoutputstandard outputAi Fox!UNIONFIND, GERMANOYou o 阅读全文
posted @ 2019-08-12 09:24 友人-A 阅读(324) 评论(1) 推荐(0) 编辑
摘要: Closest Common Ancestors Write a program that takes as input a rooted tree and a list of pairs of vertices. For each pair (u,v) the program determines 阅读全文
posted @ 2019-08-07 16:17 友人-A 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Distance Queries Description Farmer John's cows refused to run in his marathon since he chose a path much too long for their leisurely lifestyle. He t 阅读全文
posted @ 2019-08-05 16:19 友人-A 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Tian Ji -- The Horse Racing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 41290 Accepted Submi 阅读全文
posted @ 2019-08-02 20:21 友人-A 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Fansblog Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Farmer John keeps a website called ‘Fans 阅读全文
posted @ 2019-07-30 08:49 友人-A 阅读(458) 评论(0) 推荐(0) 编辑
摘要: P3388 【模板】割点(割顶) 题目背景 割点 割点 题目描述 给出一个nn个点,mm条边的无向图,求图的割点。 给出一个nn个点,mm条边的无向图,求图的割点。 输入格式 第一行输入n,mn,m 下面mm行每行输入x,yx,y表示xx到yy有一条边 第一行输入n,mn,m 下面mm行每行输入x, 阅读全文
posted @ 2019-07-27 11:18 友人-A 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 51Nod 1264:线段相交 Decision 给出平面上两条线段的两个端点,判断这两条线段是否相交(有一个公共点或有部分重合认为相交)。 如果相交,输出"Yes",否则输出"No"。 Input 第1行:一个数T,表示输入的测试数量(1 0。当 ( P1 Q1 ) × ( Q2 Q1 ) = 0 阅读全文
posted @ 2019-06-25 20:27 友人-A 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 在调用Arrays.sort()对数组进行排序时,默认是升序排序的,如果想让数组降序排序,有下面两种方法:利用Collections的reverseOrderimport ja... 阅读全文
posted @ 2019-04-23 20:28 友人-A 阅读(7588) 评论(0) 推荐(0) 编辑
摘要: What day is that day?Time Limit: 2 Seconds Memory Limit: 65536 KBIt’s Saturday toda... 阅读全文
posted @ 2019-04-21 17:54 友人-A 阅读(310) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 33 下一页