发表评论取消回复
相关阅读
相关 【codeforces】Bulbs
![这里写图片描述][20160721230838563] ![这里写图片描述][20160721230850345] ![这里写图片描述][2016072123090
相关 uva 10110——Light, more light
题意:当时还挺绕人,讲的就是一个走廊里有n个灯,一个人(疯了)来回在走廊里转,走第i 圈的时候将灯数能够整除i的灯号改变一下开关,问最后的时候(走n圈的)最后一个灯是明还是暗?
相关 Light Bulb--zoj3203(三分法)
Light Bulb -------------------- Time Limit: 1 Second Memory Limit: 32768 KB ---------
相关 319. Bulb Switcher
问题描述: There are n bulbs that are initially off. You first turn on all the bulbs. Then,
相关 leetcode【67】-Bulb Switcher
题目描述: There are n bulbs that are initially off. You first turn on all the bulbs. Then
相关 ZOJ - 3777 && ZOJ - 2972(dp )
这两个dp感觉非常类似, 都是dfs会超时, 利用上一层和下一层关系, dp做出来 zoj 2972 include<cstdio> includ
相关 ZOJ-3203 Light Bulb
Light Bulb -------------------- Time Limit: 1 Second Memory Limit: 32768 KB ----
相关 leetcode【67】-Bulb Switcher
题目描述: There are n bulbs that are initially off. You first turn on all the bulbs. Then
相关 LeetCode 319. Bulb Switcher
Description There are n bulbs that are initially off. You first turn on all the bulbs
还没有评论,来说两句吧...