摘要:
Corral the Cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1352 Accepted: 565 Description Farmer John wishes to build a corral for his 阅读全文
摘要:
C. Fountains time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Fountains time limit per 阅读全文
摘要:
D. Magazine Adtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main city magazine offers its r 阅读全文
摘要:
B. Coloring a Tree 题目链接: https://codeforces.com/contest/902/problem/B 题意:给你一颗树,原先是没有颜色的,需要你给树填色成指定的样子,每次填色的话,子树会和根节点变成同一种颜色,问需要多少次填色 题解:前向星建树,从每个父节点便利 阅读全文
摘要:
Drying Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 22163 Accepted: 5611 Description It is very hard to wash and especially to dry cloth 阅读全文
摘要:
C. Cinema time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Moscow is hosting a major inte 阅读全文