Angesthan
Angesthan
全部文章
分类
c++模板(10)
java(11)
python(1)
未归档(1)
练习题(6)
题解(10)
归档
标签
去牛客网
登录
/
注册
Angesthan的博客
全部文章
(共38篇)
递归
/* 递归结构两个部分: 1.定义递归头 2.递归体 */ public class TestRecursion01 { public static void main(String[] args) { long d1= System.curre...
2020-03-17
0
324
方法与方法重载
public class TestMethod { public static void main(String[] args) { //通过对象调用普通方法 TestMethod tm = new TestMethod(); tm.print...
2020-03-17
0
396
使用Scanner获取键盘输入
import java.util.*; public class TestScanner { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2020-03-17
0
405
Apple程序
import java.awt.*; import java.applet.*; import javax.swing.*; public class HelloWorldApplet extends Applet { public void paint(Graphics g) { ...
2020-03-15
0
369
快速幂
long long int pow_mod(long long int a, long long int k) { long long int ans = 1; a %= MOD; while(k) { if(k % 2) ans *= a; ...
2020-03-03
0
313
口算训练
#include<iostream> #include<algorithm> #include<cstdio> #include<cstring> #include<queue> #include<vector> using n...
2020-03-03
0
426
位运算符
public class IndentifierTest01{ public static void main(String[] args) { int a = 3; int b = 4; System.out.println(a&b);//按位与 Syste...
2020-02-17
0
387
数据类型
1.整形public class IndentifierTest01{ public static void main(String[] args) { //byte一个字节 //short两个字节 //int 四个字节 //long 八个字节 //测试整...
2020-02-16
0
392
常量
public class IndentifierTest01{ public static void main(String[] args) { final double PI=3.14;//定义常量 //PI=3.15;//编译错误,不能再被赋值! ...
2020-02-16
0
321
变量
package 赵靖通; /* 关于java语言当中的变量 1.什么是变量? *变量本质上来说是内存中的一块空间"有数据类型、名字、字面值"。 *变量包括三部分,数据类型、名称、字面值【数据】 ...
2020-02-16
0
417
首页
上一页
1
2
3
4
下一页
末页