//华为编程:筷子,找到第一个单对的筷子#include #define max 37int
main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n);
if(n>max) ...
分类:
其他好文 时间:
2014-07-22 23:13:33
阅读次数:
339
一、警告信息
警告信息对于将来转换成PCB不会造成严重问题,通常可以忽略。但它也给我们提供了一些参考,比如unconnceted
pin能告诉我们芯片的哪些管脚没有连接,很有检错意义。1、has no drving source2、has multiple names3、off grid
pin原....
分类:
其他好文 时间:
2014-07-22 23:13:33
阅读次数:
595
import java.security.MessageDigest;import
java.util.*;public class Hello2{ public static void main(String[] args) throws
Exception{ Random r = new Ran...
分类:
其他好文 时间:
2014-07-22 23:13:33
阅读次数:
354
mysql_num_rows();返回结果集中行的数目。1 $sql1 = "select *
from movie";2 $result1 = mysql_query($sql1) or die(mysql_error());3 $count =
mysql_num_rows($result1);...
分类:
Web程序 时间:
2014-07-22 23:13:33
阅读次数:
354
Reverse Words in a
String题目链接:http://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an
input string, reverse the string word by word. F...
分类:
其他好文 时间:
2014-07-22 23:13:32
阅读次数:
309
public class DoTXT { // 定义成员变量:路径,文件对象,临时变量
private String path; // 文件路径 private File f; private FileReader fr; // 所需文件流对象
private File...
分类:
其他好文 时间:
2014-07-22 23:13:15
阅读次数:
300
问题:E: 无法获得锁 /var/cache/apt/archives/lock - open (11
资源临时不可用)E: 无法锁定下载目录o rm /var/cache/apt/archives/locksudo rm
/var/cache/apt/archives/locksudo rm /....
分类:
其他好文 时间:
2014-07-22 23:13:14
阅读次数:
287
最大的Qt4程序群(KDE4)采用cmake作为构建系统Qt4的python绑定(pyside)采用了cmake作为构建系统开源的图像处理库
opencv 采用cmake 作为构建系统...看来不学习一下cmake是不行了,一点一点来吧,找个最简单的C程序,慢慢复杂化,试试看:例子一单个源文件
ma...
分类:
其他好文 时间:
2014-07-22 23:13:14
阅读次数:
423