会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
河边上的傻瓜
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
2015年6月1日
字符数组
摘要: 对所有的三位数乘两位数 判断其过程中出现的数值都是 输入的数字中的#include #include using namespace std;int main(){ char s[20],buff[100]; scanf("%s",s); int abc,de,x,y,z,flag...
阅读全文
posted @ 2015-06-01 21:01 微博和csdn还有你
阅读(187)
评论(0)
推荐(0)
2015年5月28日
按位与、或、异或等运算方法
摘要: 按位与运算符(&)参加运算的两个数据,按二进制位进行“与”运算。运算规则:0&0=0;0&1=0;1&0=0;1&1=1;即:两位同时为“1”,结果才为“1”,否则为0例如:3&5即 0000 0011 & 0000 0101 = 0000 0001因此,3&5的值得1。另,负数按补码形式参加按位与...
阅读全文
posted @ 2015-05-28 19:30 微博和csdn还有你
阅读(682)
评论(0)
推荐(0)
读入n名学生的姓名、学号、成绩,分别输出成绩最高和成绩最低学生的姓名和学号。
摘要: #include #include int main(){ int n=0; int score =0; int score_hight = 0; int score_low = 101; char name [10]={0}; char name_low...
阅读全文
posted @ 2015-05-28 16:26 微博和csdn还有你
阅读(7253)
评论(0)
推荐(0)
2015年5月27日
Java中读取 文本文件按照规则把文字分割然后输出
摘要: import java.io.BufferedInputStream;import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.InputStreamReader;i...
阅读全文
posted @ 2015-05-27 09:58 微博和csdn还有你
阅读(2062)
评论(0)
推荐(0)
穷举法和搜索法的统计三角形
摘要: #include #include #include using namespace std;int n,l[15];bool h[10000];bool is_triangle(int a,int b,int c) { return !h[a * 100 + b] && a && b ...
阅读全文
posted @ 2015-05-27 08:51 微博和csdn还有你
阅读(327)
评论(0)
推荐(0)
2015年5月21日
2015.5.21 Core Java Volume 1
摘要: 如果你只想用一次的话 就是String s = new Date(); 如果想用多次的话 就是Date birthday = new Date();
阅读全文
posted @ 2015-05-21 08:31 微博和csdn还有你
阅读(138)
评论(0)
推荐(0)
2015年5月18日
我喜欢出发
摘要: 我喜欢出发 文/汪国真 我喜欢出发。 凡是到达了的地方,都属于昨天。哪怕那山再青,那水再秀,那风再温柔。 太深的流连便成了一种羁绊,绊住的不仅有双脚,还有未来。 怎么能不喜欢出发?没有见过大山的巍峨,真是遗憾;见了大山的巍峨没见过大海的浩瀚,仍然遗憾; 见了大海的浩瀚没见过大漠的广袤,依旧...
阅读全文
posted @ 2015-05-18 20:24 微博和csdn还有你
阅读(160)
评论(0)
推荐(0)
MeshLab中画面在前面加个f的代码
摘要: public class FormatOutput { public static void main(String[] args) { for(int i=1;i<=9684;i=i+4) { System.out.println("f "+...
阅读全文
posted @ 2015-05-18 20:19 微博和csdn还有你
阅读(204)
评论(0)
推荐(0)
【axel帮助代码】为了在单位正方形里面画一个洞 ,网上获取了此代码。
摘要: import java.awt.*;import java.awt.event.*;import java.util.*;import java.awt.geom.*;import javax.swing.*;public class getxy2{ public static void mai...
阅读全文
posted @ 2015-05-18 20:15 微博和csdn还有你
阅读(152)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
公告