会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
行走在路上
路漫漫其修远兮,吾将上下而求索。 万丈高楼平地起!
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
10
下一页
2017年7月7日
java 中 包的用法
摘要: //创建一个包 ,保存在com目录下的hnqy文件夹中。 //import可找到上述包中的Demo12类。
阅读全文
posted @ 2017-07-07 19:31 小松鼠。
阅读(230)
评论(0)
推荐(0)
编辑
java成员变量和局部变量
摘要:
阅读全文
posted @ 2017-07-07 15:51 小松鼠。
阅读(96)
评论(0)
推荐(0)
编辑
2017年7月6日
Java构造方法
摘要: /*构造方法的一些示例:
阅读全文
posted @ 2017-07-06 16:59 小松鼠。
阅读(139)
评论(0)
推荐(0)
编辑
2016年4月19日
1385
摘要: #include<stdio.h>int oulur(int n){ int ret=1; for(int i=2;i*i<=n;i++) { if(n%i==0) { n/=i; ret*=i-1; } while(n%i==0) { n/=i; ret*=i; } } if(n>1) ret*=
阅读全文
posted @ 2016-04-19 18:53 小松鼠。
阅读(325)
评论(0)
推荐(0)
编辑
2016年3月30日
1362
摘要: #include<stdio.h>#include<math.h>int arr[100];int main(){ int n,i,j,temp; while(~scanf("%d",&n)&&n) { for(i=0;i<n;i++) scanf("%d",&arr[i]); for(i=0;i<
阅读全文
posted @ 2016-03-30 19:32 小松鼠。
阅读(252)
评论(0)
推荐(0)
编辑
2016年3月16日
itoa函数和atoi函数的用法
摘要: 1.itoa 在linux下没有itoa这个函数 原型:char *itoa(int value,char *string,int radix) 用法:#include 功能:将整数value转换成字符串存入string, radix为转换时所用基数(保存到字符串中的数据的进制基数 2 8 10 1
阅读全文
posted @ 2016-03-16 20:25 小松鼠。
阅读(570)
评论(0)
推荐(0)
编辑
排序
摘要: #include<stdio.h>#include<string.h>#include<algorithm>using namespace std;char s[1000];int a[1000],i,k,sum;int main(){ while(scanf("%s",s)!=EOF) { k=0
阅读全文
posted @ 2016-03-16 20:08 小松鼠。
阅读(105)
评论(0)
推荐(0)
编辑
1302
摘要: #include<stdio.h>int main(){ int n,a,b,c,i,max; while(scanf("%d%d%d%d",&n,&a,&b,&c)!=EOF) { int count=0; max=a; if(b>max) max=b; if(c>max) max=c; for(
阅读全文
posted @ 2016-03-16 16:50 小松鼠。
阅读(163)
评论(0)
推荐(0)
编辑
2016年3月12日
NYOJ整数划分(二)
摘要: 地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=176&rec=sim
阅读全文
posted @ 2016-03-12 19:19 小松鼠。
阅读(129)
评论(0)
推荐(0)
编辑
NYOJ90整数划分
摘要: 地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=90
阅读全文
posted @ 2016-03-12 14:56 小松鼠。
阅读(379)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
10
下一页
公告