码迷,mamicode.com
首页 >  
搜索关键字:light oj    ( 5088个结果
HDU - 2276 Kiki & Little Kiki 2
Description There are n lights in a circle numbered from 1 to n. The left of light 1 is light n, and the left of light k (1< k<= n) is the light k-1.At time of 0, some of them turn on, and others t...
分类:其他好文   时间:2014-07-30 12:23:23    阅读次数:199
Insertion Sort List
家里网实在太烂了,弄得我都不想上网,每次打开oj特别慢,提交题目等刷出来更慢。对于这题感觉脑子不好用啊,写的好繁琐。不过所幸最终脑子还是转过乐弯。。。就是指针next的交换,对于当前遍历的ret点,判断前面是否可以插入,若可以插入,则插入点的前一点指向ret,ret指向插入点的后一点,然后再将前面已...
分类:其他好文   时间:2014-07-30 07:39:43    阅读次数:190
nyist oj 38 布线问题 (最小生成树 prim)
布线问题 时间限制:1000 ms  |  内存限制:65535 KB 难度:4 描述 南阳理工学院要进行用电线路改造,现在校长要求设计师设计出一种布线方式,该布线方式需要满足以下条件: 1、把所有的楼都供上电。 2、所用电线花费最少 输入 第一行是一个整数n表示有n组测试数据。(n 每组测试数据的第一行是两个整数v,e. v表示学校里楼的总个数...
分类:其他好文   时间:2014-07-29 21:53:02    阅读次数:344
C#最良心脚本语言C#Light/Evil,Xamarin\WP8\Unity热更新最良心方案,再次进化.
C#Light的定位是嵌入式脚本语言,一段C#Light脚本是一个函数 C#Evil定位为书写项目的脚本语言,多脚本文件合作,可以完全用脚本承载项目。 C#Light/Evil 使用完全C#一致性语法 目前 C#Light已经是正式版,且经商业项目检验 C#Evil是Alpha版,欢迎试用反馈。 C...
分类:其他好文   时间:2014-07-29 16:49:42    阅读次数:316
【剑指offer】二叉搜索树的后序遍历序列
转载请注明出处:http://blog.csdn.net/ns_code/article/details/26092725 剑指offer上的第24题,主要考察递归思想,九度OJ上AC。题目描写叙述:输入一个整数数组,推断该数组是不是某二叉搜索树的后序遍历的结果。假设是则输出Yes,否则输出No。....
分类:其他好文   时间:2014-07-29 13:33:08    阅读次数:228
【HackerRank】Service Lane
Calvin is driving his favorite vehicle on the 101 freeway. He notices that the check engine light of his vehicle is on, and he wants to service it imm...
分类:其他好文   时间:2014-07-29 12:37:16    阅读次数:250
Clone Graph leetcode java(DFS and BFS 基础)
题目:Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are label....
分类:编程语言   时间:2014-07-29 12:09:37    阅读次数:388
windows 下nginx 虚拟主机搭建
需要在 nginx.conf里面引入刚才配置的那个文件第一步 加东西http的节点里面加上一定要注意的是:必须以 ;结尾include D:/phpen/nginx-1.3.6/conf/vhost/www.light.com.conf;或者include D:/phpen/nginx-1.3.6/...
分类:Windows程序   时间:2014-07-28 23:36:44    阅读次数:383
LeetCode: Max Points on a Line
LeetCode: Max Points on a LineGiven n points on a 2D plane, find the maximum number of points that lie on the same straight line.地址:https://oj.leetcod...
分类:其他好文   时间:2014-07-27 23:22:59    阅读次数:289
自定义View--day1
public class MyVolumnView extends View { int count_dark = 7; final int MAX_COUNT = 15; Paint paint; Bitmap dark; Bitmap light; final...
分类:其他好文   时间:2014-07-27 23:20:29    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!