码迷,mamicode.com
首页 >  
搜索关键字:int    ( 143001个结果
Java方法
我们经常使用到的System.out.println(),println()是一个方法(Method),而System是系统类(Class),out是标准输出对象(Object)。这句话的用法是调用系统类System中的标准输出对象out中的方法println()。Java 方法是解决一列重复步.....
分类:编程语言   时间:2014-05-01 03:56:57    阅读次数:336
[复变函数]第21堂课 6 留数理论及其应用 6. 1 留数
0. 引言---回忆(1) Cauchy 积分公式 (第三章) $$\beex \bea f\mbox{ 在 }D\mbox{ 内解析}, \mbox{ 在 }\bar D=D+\p D\mbox{ 上连续}&\ra \int_C \cfrac{f(z)}{z-a}\rd z=2\pi if(a),...
分类:其他好文   时间:2014-05-01 03:47:46    阅读次数:352
快速排序
package algorithm.sort;public class QuickSort { public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4, 9, 8, 6, 1}; sort(a); ...
分类:其他好文   时间:2014-05-01 03:33:20    阅读次数:330
SCJP_104——题目分析(2)
3.public class IfTest{ public static void main(String args[]){ int x=3; int y=1; if(x=y) System.out.println("Not eq...
分类:其他好文   时间:2014-05-01 03:32:18    阅读次数:320
坑爹系列:sizeof运算符
C语言里的sizeof关键字用于返回变量的类型宽度(变量所占的字节个数)。例如:#include int main() {int i = 0;int size = sizeof i;printf("size of i is: %d",size);return 0;}会在控制台打印出int类型的变量i...
分类:其他好文   时间:2014-05-01 03:29:15    阅读次数:316
hdu 1370 中国剩余定理
题意 :求一个最小的数对 23 38 33 于i p ezsd: 因为23 38 33 两两互素所以可以用中国剩余定理是中共剩余定理的经典模板#include using namespace std; int exgcd(int a,int b,int &x,int &y) { i...
分类:其他好文   时间:2014-05-01 03:26:08    阅读次数:286
计数排序
package algorithm.sort;public class CountingSort { public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4, 9, 8, 6, 1}; int[] ...
分类:其他好文   时间:2014-05-01 03:25:05    阅读次数:252
堆排序
package algorithm.sort;public class HeapSort { public static void main(String[] args) { int[] a = new int[] {5, 3, 7, 2, 1, 4, 9, 8, 6, 1}; sort(a); p...
分类:其他好文   时间:2014-05-01 03:24:04    阅读次数:332
explicit浅谈
在C++中,explicit关键字主要用于防止隐式转换,用于修饰构造函数、复制构造函数。例如有一个类:class A { public: A( int count ) : m_data( count ){} private: int m_data; };int main() { ...
分类:其他好文   时间:2014-05-01 03:03:36    阅读次数:311
wait(...) notify() notifyAll()
简介wait、notify、notifyAll是Java中3个与线程有关的方法,它们都是Object类中的方法。其中,wait方法有3个重载形式:1、wait()2、wait(long timeout)3、wait(long timeout, int nanos) 这5个方法都是final方法。其中...
分类:其他好文   时间:2014-05-01 02:58:23    阅读次数:376
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!