摘要:
Now an emergent task for you is to open a password lock. The password is consisted of four digits. Each digit is numbered from 1 to 9. Each time, you 阅读全文
摘要:
ACM contests, like the one you are participating in, are hosted by the special software. That software, among other functions, preforms a job of accep 阅读全文
摘要:
Problem Description 省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。经过调查评估,得到的统计表中列出了有可能建设公路的若干条道路的成本。现请你编写程序,计算出全省畅通需要的最低成本。 Input 测试输入包 阅读全文
该文被密码保护。 阅读全文
摘要:
Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs you 阅读全文
摘要:
第一步,使用笔记本编辑程序代码 用记事本编写的是java的源代码文件,里面的代码就是我们平时学习的java代码,生成的文件后缀是.txt,更改文本文档的后缀名为 .java。java文件是不能直接执行的,需要通过后续的编译等处理才能变为可执行的程序(注意文件名必须和类名相同)如果电脑没有显示后缀名的 阅读全文
摘要:
题目: A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges betw 阅读全文
摘要:
题目: A secret service developed a new kind of explosive that attain its volatile property only when a specific association of products occurs. Each pro 阅读全文
摘要:
题目: (😔,最近净做并查集了还一道难的都不会) DZY loves chemistry, and he enjoys mixing chemicals. DZY has n chemicals, and m pairs of them will react. He wants to pour t 阅读全文
摘要:
题目: 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A,为了提高难度 阅读全文