2013年3月18日

Balanced Lineup(简单的线段树)

摘要: Balanced LineupTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 26339Accepted: 12351Case Time Limit: 2000MSDescriptionFor the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with som 阅读全文

posted @ 2013-03-18 20:42 铁树银花 阅读(256) 评论(0) 推荐(0) 编辑

D. Colorful Graph(坑爹题)

摘要: D. Colorful Graphtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got an undirected graph, consisting of n vertices and m edges. We will consider the graph's vertices numbered with integers from 1 to n. Each vertex of the graph has 阅读全文

posted @ 2013-03-18 19:40 铁树银花 阅读(389) 评论(0) 推荐(0) 编辑

Shaking Your Cellphone(并查集)

摘要: Shaking Your Cellphone Time Limit:1000MS Memory Limit:65535KB 64bit IO Format:%lld & %llu Submit Status Practice UESTC 1700Description Do you know a software called "WeiXin", a kind of chatting tool? There is an application called "Shaking for a while". Once you shake your ce 阅读全文

posted @ 2013-03-18 17:24 铁树银花 阅读(255) 评论(0) 推荐(0) 编辑

导航