摘要:
Chat Online CodeForces - 469B 问题描述 你和你的朋友经常在网上聊天.你的朋友作息规律每天只会在p个时间段[ai,bi]在线.你作息混乱,假设你在t时刻起床,那么你会在q个时间段[t+ci,t+di]在线.现在,你有可能会在[l,r]的这个时间段中的任意一个时刻起床,假设 阅读全文
摘要:
Laurenty and Shop CodeForces - 586B A little boy Laurenty has been playing his favourite game Nota for quite a while and is now very hungry. The boy w 阅读全文
摘要:
Print Check CodeForces - 631B Kris works in a large company "Blake Technologies". As a best engineer of the company he was assigned a task to develop 阅读全文
摘要:
Mike and Fun CodeForces - 548B Mike and some bears are playing a game just for fun. Mike is the judge. All bears except Mike are standing in an n × m 阅读全文
摘要:
Drazil and His Happy Friends CodeForces - 515B Drazil有很多朋友,他们中有些人是快乐的,有些人是不快乐的。 Drazil想让他的朋友变得快乐。于是,他发明了以下的计划。 在他的朋友中,有n个男孩和m个女孩。我们把男孩从0到n-1编号,女孩从0到m- 阅读全文
摘要:
Little Pigs and Wolves CodeForces - 116B Once upon a time there were several little pigs and several wolves on a two-dimensional grid of size n × m. E 阅读全文