摘要:
抢整Time Limit: 1 Second Memory Limit: 8192 KB MSTCer热衷于抢整(抢整:在论坛上抢发编号为整数帖文章,对于论坛的某一个主题帖,按照发贴时间顺序,第一个帖子拥有编号1,第二个帖子拥有编号2,依此类推)。为了抢到整数N,许多MSTCer都发了贴,现在告诉你他们发贴的名单(已经按照发贴时间顺序排好),你能够找到谁抢到了整数N吗?这太容易了!但是现在麻烦来... 阅读全文
摘要:
Fire NetTime Limit: 1 Second Memory Limit: 32768 KB Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street o... 阅读全文