码迷,mamicode.com
首页 >  
搜索关键字:other    ( 5856个结果
Java中的多线程
对于直接继承Thread的类来说,代码大致框架是:123456789101112class类名extendsThread{方法1;方法2;…publicvoidrun(){// other code…}属性1;属性2;…}先看一个简单的例子:12345678910111213141516171819...
分类:编程语言   时间:2015-10-28 22:56:49    阅读次数:293
贪心算法
Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea ...
分类:编程语言   时间:2015-10-28 21:05:52    阅读次数:206
[Angular 2] Controlling how Styles are Shared with View Encapsulation
Style and View Encapsulation is best understood by seeing how each option (Emulated, Native, and None) compare to each other. Angular 2 QuickStart ...
分类:其他好文   时间:2015-10-28 07:00:19    阅读次数:223
Color the ball(树状数组+线段树)
Color the ballTime Limit : 9000/3000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 3Accepted Submission(s) : 1Problem De...
分类:编程语言   时间:2015-10-27 23:48:57    阅读次数:284
hdu1254推箱子 (嵌套广搜)
推箱子 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 10 Accepted Submission(s) : 4Problem Descr...
分类:其他好文   时间:2015-10-27 20:18:27    阅读次数:228
Score(规律)
ScoreTime Limit : 5000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 2Accepted Submission(s) : 2Problem Description...
分类:其他好文   时间:2015-10-27 17:22:18    阅读次数:198
【C语言】编写一个程序统计输入字符串中: 各个数字、空白字符、以及其他所有字符出现的次数。
#include<stdio.h> intmain() { chars[20]; charnum=0; intnum_count=0; intspace_count=0; intother_count=0; while((num=getchar())!=‘\n‘) { if(num>=‘0‘&&num<=‘9‘) { num_count++; } elseif(num==‘‘) { space_count++; } else { other_count..
分类:编程语言   时间:2015-10-27 07:08:05    阅读次数:234
ORACLE_新建表
0.新建表CREATE TABLE table_name(column_name column_type other);1.增加表字段ALTER TABLE table_nameADD (column_name column_type other);2.修改表字段ALTER TABLE table_...
分类:数据库   时间:2015-10-25 22:18:32    阅读次数:243
Single Number III - LeetCode
Given an array of numbersnums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements t...
分类:其他好文   时间:2015-10-25 09:35:05    阅读次数:195
Handbook之001:控制台运用程序
1.新建工程,选择New->Other 2.选择Console Applicat 3.写好以下代码 ,点击绿色三角运行
分类:数据库   时间:2015-10-23 14:47:18    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!