上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 97 下一页
摘要: 题目描述 给定一张有向图,求从1号点出发,每个点能支配的点的个数(包括自己) 输入输出格式 输入格式: 第一行两个正整数n,mn,m,表示点数和边数 接下来mm行,每行输入两个整数u,vu,v,表示有一条uu到vv的有向边 输出格式: 一行输出... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(38) 评论(0) 推荐(0)
摘要: Problem Description Country A and B are at war. Country A needs to organize transport teams to deliver supplies toward some com... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(33) 评论(0) 推荐(0)
摘要: 【概述】 给定一个有向图与一个起点 S,如果要去掉起点 S 到某个点 p 的中间的某个点 x 后无法到达,那么称点 x 支配点 p,x 是 p 的一个支配点。 显然支配点 x 可以有多个,支配点的集合记为 {Xp},对于起点以为的点,它们都有两个平凡的支配点... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(318) 评论(0) 推荐(0)
摘要: Problem Description You are given an array of n integers a1,a2,...,an. We define that a sequence p1,p2,...,pk(k∈[1,n]) is beaut... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(21) 评论(0) 推荐(0)
摘要: Problem Description One day, Y_UME got an integer N and an interesting program which is shown below: Y_UME wants to play ... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(21) 评论(0) 推荐(0)
摘要: 退役了 自南京站爆零血崩之后,一直在跟队友调整状态,在徐州站之前状态调整的差不多,比赛预案也重做了一下,但还是打铁,由于一直在想以后的发展方向,这篇总结也就一直拖着没写 徐州站,到了徐州后身体不舒服,第一天直接在酒店躺了一天,热身赛没去,具体怎么个情况也没跟队... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(14) 评论(0) 推荐(0)
摘要: 人生第一场 ICPC 区域赛,血崩 去比赛之前看到参赛手册,清一色的强队,对拿奖没抱太大希望,只想着能出几个就出几个,尽最大努力就好了 周六下午热身赛,记错时间了去晚了尽半个小时,到场后先测了测 IDE,发现一个都不能用。。。联系现场的技术支持给解决了,签到题... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(29) 评论(0) 推荐(0)
摘要: Problem Description A.R.C. Markland-N is a tall building with n floors numbered from 1 to n. Between each two adjacent floors in... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(33) 评论(0) 推荐(0)
摘要: Problem Description Our dear Cafe's owner, JOE Miller, will soon take part in a new game TV-show "1 vs. n"! The game goes in r... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(15) 评论(0) 推荐(0)
摘要: Problem Description Polycarp has three sisters: Alice, Barbara, and Cerene. They're collecting coins. Currently, Alice has a co... 阅读全文
posted @ 2022-09-20 22:50 老程序员111 阅读(29) 评论(0) 推荐(0)
上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 97 下一页