码迷,mamicode.com
首页 >  
搜索关键字:public key error    ( 147827个结果
[ACM] 线段树模板
#include#includeusing namespace std;#define maxn 200005class Node{public: int l,r; int add;//附加值 int sum;}node[maxn];int getRight(int n){//获得...
分类:其他好文   时间:2014-07-22 23:14:14    阅读次数:431
2014华为编程比赛-筷子问题
//华为编程:筷子,找到第一个单对的筷子#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
MD5加密
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
PHP (20140429)
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
【ERROR】bash: vim: command not found的解决办法
今天在学习鸟哥的菜的时候,发现自己linux不可以启用vim命令,错误为:bash: vim: command not found。 机器环境:VMWare8+RED HAT Enterprise5 解决方法: 发现问题的根源在于没有安装好vim 输入 rpm -qa|grep vim ...
分类:其他好文   时间:2014-07-22 23:12:56    阅读次数:993
java 知识收集
1,若方法传入的对象参数为空,则在方法中改变参数并不会改变声明的对象public void setList(List list){ list = new ArrayList() ; } @Test public void t4(){ List ...
分类:编程语言   时间:2014-07-22 23:12:56    阅读次数:323
重定向输出流练习 ToLog
public class ToLog { public static void main(String[] args) throws Exception { //准备日志文件 File f = new File("log.txt"); if(!f.ex...
分类:其他好文   时间:2014-07-22 23:12:54    阅读次数:300
2014华为编程比赛-筷子问题
//华为编程:筷子,找到第一个单对的筷子#include #define max 37int main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n); if(n>max) { printf("...
分类:其他好文   时间:2014-07-22 23:12:15    阅读次数:325
Chap3: question: 11 - 18
11. double 数值的整数次方note: 浮点数表示时有误差,判等时必须自己根据精度要求实现。#include #include using namespace std;bool equal(double num1, double num2) // key 1{ if(num1 - num2 ...
分类:其他好文   时间:2014-07-22 23:11:56    阅读次数:436
数组与指针——参数
引入:#include#includevoidfun(char**q){exit;}voidmain(){char**p,a[6][8];p=a;fun(a);}编译不能通过!ERROR:不能将”char(*)[8]”类型的值分配到”char**”类型的实体。ERROR:”char(*)[8]”类型...
分类:其他好文   时间:2014-07-22 23:11:34    阅读次数:313
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!