摘要:
Problem Description 小希和Gardon在玩一个游戏:对一个N*M的棋盘,在格子里放尽量多的一些国际象棋里面的“车”,并且使得他们不能互相攻击,这当然很简单,但是Gardon限制了只有某些格子才可以放,小希还是很轻松的解决了这个问题(见... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(174)
评论(0)
推荐(0)
摘要:
Problem Description 1967年,美国著名的社会学家斯坦利·米尔格兰姆提出了一个名为“小世界现象(small world phenomenon)”的著名假说,大意是说,任何2个素不相识的人中间最多只隔着6个人,即只用6个人就可以将他们联... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(31)
评论(0)
推荐(0)
摘要:
Problem Description Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representat... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(42)
评论(0)
推荐(0)
摘要:
Problem Description Several currency exchange points are working in our city. Let us suppose that each point specializes in two... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(104)
评论(0)
推荐(0)
摘要:
Problem Description There are m people in n cities, and they all want to attend the party which hold by zz. They set out at the... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(0)
评论(0)
推荐(0)
摘要:
原计划的图的遍历和拓扑排序看完了,顺便把 Floyd 和 Dijkstra 看完了,这周计划是 Ford、SPFA、并查集以及 2-SAT 问题 学长学姐去 ICPC 拿了块牌回来,羡慕 自己队出去比赛的次数是 17 级里最多的,但一直打铁一直让教练失望,还是... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(13)
评论(0)
推荐(0)
摘要:
Problem Description Bajtek, known for his unusual gifts, recently got an integer array x0,x1,…,xk−1. Unfortunately, after a hu... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(30)
评论(0)
推荐(0)
摘要:
Problem Description Awruk is taking part in elections in his school. It is the final round. He has only one opponent — Elodreip... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(108)
评论(0)
推荐(0)
摘要:
Problem Description 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。 现在,已知起点和... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(34)
评论(0)
推荐(0)
摘要:
Problem Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer... 阅读全文
posted @ 2022-09-20 23:01
老程序员111
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号