首页 > 其他
POJ 1836 Alignment
链接:http://poj.org/problem?id=1836 Alignment Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 14457 Accepted: 4690 Description In the army, a platoon is composed by n soldiers....
分类:其他   时间:2015-08-16 13:51:08    收藏:0  评论:0  赞:0  阅读:236
500 OOPS: cannot change directory:/root
安装完red hat enterprise linux 5后,ftp不能使用root用户,将/etc/vsftpd/ftpusers和/etc/vsftpd/user_list两个文件中的root注释掉,就是在root前加个#,再运行ftp结果报错 500 OOPS:cannot change directory:/root 500 OOPS: child died     ...
分类:其他   时间:2015-08-16 13:50:48    收藏:0  评论:0  赞:0  阅读:177
HDU 5384 Danganronpa (字典树运用)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5384 题面: Danganronpa Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 512    Accepted...
分类:其他   时间:2015-08-16 13:50:39    收藏:0  评论:0  赞:0  阅读:130
NYOJ_74 小学生算术
计算两个三位数在相加时需要多少次进位。 你编制的程序应当可以连续处理多组数据。 直到读到两个0(这是输入结束标记)。...
分类:其他   时间:2015-08-16 13:50:28    收藏:0  评论:0  赞:0  阅读:215
hdu5391 Zball in Tina Town(素数筛法)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5391 题目大意:一个球初始体积为1,一天天变大,第一天变大1倍,第二天变大2倍,第n天变大n倍。问当第 n-1天的时候,体积变为多少。注意答案对n取模。 思路:题目意思搞了好久,其实就是第一天是1,第二天是1*2,第三天是1*2*3,也就是当第n天的时候是n!。那么答案就是(n-1)! % n。 ...
分类:其他   时间:2015-08-16 13:50:19    收藏:0  评论:0  赞:0  阅读:181
使用均匀分布随机数产生器构造任意分布的随机数产生器
使用均匀分布随机数产生器构造任意分布的随机数产生器...
分类:其他   时间:2015-08-16 13:49:58    收藏:0  评论:0  赞:0  阅读:1094
解题报告 之 HDU5294 Tricks Device
解题报告 之 HDU5294 Tricks Device Description Innocent Wu follows Dumb Zhang into a ancient tomb. Innocent Wu’s at the entrance of the tomb while Dumb Zhang’s at the end of it. The tomb is made up of many chambers, the total number is N. And there are M channe...
分类:其他   时间:2015-08-16 13:49:28    收藏:0  评论:0  赞:0  阅读:233
LightOJ 1214 - Large Division (大数取余)
1214 - Large Division PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB Given two integers, a and b, you should checkwhether...
分类:其他   时间:2015-08-16 13:49:18    收藏:0  评论:0  赞:0  阅读:127
xcode快速生成文档
首先是转载内容: 一、自动生成注释代码 添加一个快捷键,生成 注释代码 ThisService 下载连接:http://wafflesoftware.net/thisservice/ Doxygen.rb 下载连接:http://www.brokenrul.es/blog/wp-content/uploads/2011/03/Doxygen.rb_....
分类:其他   时间:2015-08-16 13:49:08    收藏:0  评论:0  赞:0  阅读:333
postgis常用函数介绍(一)
在进行地理信息系统开发的过程中,常用的空间数据库有esri的sde,postgres的postgis以及mySQL的mysql gis等等,在本文,给大家介绍的是有关postgis的一些常用函数的意思以及使用。...
分类:其他   时间:2015-08-16 13:48:58    收藏:0  评论:0  赞:0  阅读:317
关于IFeatureSelection的SelectFeatures方法
最近做项目时用到IFeatureLayer as IFeatureSelection,然后使用IFeatureSelection.SelectFeatures方法,但是得到的IFeatureSelection.SelectionSet集合中的Count大概有105399个,而实际上的数据有17000+,也就是说这个方法实际上的选择数据集是有上限的,并不会返回当前图层超过了105399这个上限的数据,...
分类:其他   时间:2015-08-16 13:48:38    收藏:0  评论:0  赞:0  阅读:218
QT中模拟鼠标点击事件
传入座标,模拟鼠标点击QWebView中网页上的某一点qDebug()<<"mouse clicked"; QPoint pos(403,34); QMouseEvent event0(QEvent::MouseButtonPress, pos, Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); QApp...
分类:其他   时间:2015-08-16 13:48:08    收藏:0  评论:0  赞:0  阅读:864
uva_247_Calling Circles(floyd传递闭包)
Calling Circles Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Description If you've seen television commercials for long-dista...
分类:其他   时间:2015-08-16 13:47:48    收藏:0  评论:0  赞:0  阅读:160
poj 3469 Dual Core CPU 最大流最小割定理
。。。...
分类:其他   时间:2015-08-16 13:47:28    收藏:0  评论:0  赞:0  阅读:158
UVA 10746 Crime Wave - The Sequel【最小费用最大流】
题目链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1687题意:给你n个城市到m个海港的距离,求每个城市都有船只去的最短平均航行距离。源点向城市建边 城市向海港 海港向汇点建边 容量为1,最后城市向海港的费用为距离代码:#include<stdi...
分类:其他   时间:2015-08-16 13:46:58    收藏:0  评论:0  赞:0  阅读:280
二进制浮点数,IEEE标准
二进制浮点数,IEEE标准 额...啥叫IEEE标准?别着急啊,往后看,这一次我和大家一起学习一下浮点数,这里没有无符号,没有补码,俗话说得好,上帝给你关了一扇门,肯定给你打开一扇窗,没有那种东西饿,肯定有别的.如果你真正进入了浮点数的世界,离着你称霸武林不远了!     写在前面 整数运算虽然能解决计算机当中有关信息的一部分分存储,运算等功能,但却仍然是不够的.否则结社我们要做一个超市...
分类:其他   时间:2015-08-16 13:46:39    收藏:0  评论:0  赞:0  阅读:357
Palindrome Number && Reverse Number
Problem I:判断数字是不是回文字符串形式Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative int...
分类:其他   时间:2015-08-16 13:44:48    收藏:0  评论:0  赞:0  阅读:181
2016华为校招上机笔试练习题
1、最高分是多少#include #include #include int main(){ int n,m; while(scanf("%d %d",&n,&m)!=EOF){ int *score = (int*)malloc(sizeof(int)*n); ...
分类:其他   时间:2015-08-16 13:44:19    收藏:0  评论:0  赞:0  阅读:348
选择文件错误提示
1 package com.chuangkohua; 2 3 import java.awt.Button; 4 import java.awt.Dialog; 5 import java.awt.FlowLayout; 6 import java.awt.Frame; 7 imp...
分类:其他   时间:2015-08-16 13:43:58    收藏:0  评论:0  赞:0  阅读:187
8.15 [LeetCode] 179 Largest Number
[LeetCode 179] Largest Number|COMMENTSQuestionlinkGiven a list of non negative integers, arrange them such that they form the largest number.For examp...
分类:其他   时间:2015-08-16 13:43:28    收藏:0  评论:0  赞:0  阅读:136
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!