随笔分类 -  zoj

摘要:Domino EffectTime Limit:2 Seconds Memory Limit:65536 KBDid you know that you can use domino bones for other things besides playing Dominoes? Take a nu... 阅读全文
posted @ 2014-05-14 18:29 heaventouch 阅读(248) 评论(0) 推荐(0) 编辑
摘要:Fire NetTime Limit:2 Seconds Memory Limit:65536 KBSuppose 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 or a piece of wall.A blockhouse is a small castle that has four openings through which to shoot. The fou 阅读全文
posted @ 2014-03-16 19:33 heaventouch 阅读(470) 评论(0) 推荐(0) 编辑
摘要:Tempter of the BoneTime Limit:2 Seconds Memory Limit:65536 KBThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized that the bone was a trap, and he tried desperately to 阅读全文
posted @ 2013-12-25 21:57 heaventouch 阅读(220) 评论(0) 推荐(0) 编辑
摘要:IntervalsTime Limit:10 Seconds Memory Limit:32768 KBYou are given n closed, integer intervals [ai, bi] and n integers c1, ..., cn.Write a program that:> reads the number of intervals, their endpoints and integers c1, ..., cn from the standard input,> computes the minimal size of a set Z of int 阅读全文
posted @ 2013-11-25 09:57 heaventouch 阅读(666) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示