- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 求两个数的最大公约数
#include <stdio.h>int main(){ int a,b,t; scanf("%d%d",&a,&b); int divide(int x,int y); if(a>b){ divide(a,b); }else{ t=a; a=b; b=t; divide(a,b); }}int divide(...
2020-01-28 16:45:19 210
原创 如何求3个整数中的最大值。
#include <stdio.h>int main(){ int a,b,c,m; printf("please input 3 numbers:"); scanf("%d%d%d",&a,&b,&c); int max(int x,int y,int z); m=max(a,b,c); printf("the biggest numbe...
2020-01-21 11:53:40 524
原创 Eclipse中添加Python插件
http://www.cnblogs.com/halfacre/archive/2012/07/22/2603848.html安装python解释器安装PyDev:首先需要去Eclipse官网下载:http://www.eclipse.org/,Eclipse需要JDK支持,如果Eclipse无法正常运行,请到Java官网下载JDK安装:http://www.o
2017-01-03 11:16:25 2706
转载 遍历HashMap的四种方法
关于HashMap的遍历方式:public static void main(String[] args) { Map map = new HashMap(); map.put("1", "value1"); map.put("2", "value2"); map.put("3", "value3"); //第一种:普遍使用,二次取值
2016-12-03 13:39:39 785
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人