摘要: Party LampsIOI 98 To brighten up the gala dinner of the IOI'98 we have a set of N (10 =0), i.e., 1,4,7,...A counter C records the total number of button presses. When the party starts, all the lamps are ON and the counter C is set to zero. You are given the value of counter C (0 #include #includ 阅读全文
posted @ 2012-09-02 12:40 剑不飞 阅读(212) 评论(0) 推荐(0) 编辑