//华为编程:筷子,找到第一个单对的筷子#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
最近找工作,有面试有笔试部分,故把笔试题自己整理了下。面试能力要求:精通iphone的UI开发,能熟练操作复杂表视图,熟练使用图层技术,
可以自定义UI控件,使用类别扩展系统控件功能; 擅长通讯技术,熟悉各种通信协议,精通xml, json,
二进制或其他形式的自定义解析,能架设服务器实现客户端与服...
分类:
其他好文 时间:
2014-07-22 23:13:33
阅读次数:
413
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
转载地址:http://blog.csdn.net/terryzero/article/details/6016130虚拟机一直用,但选择网络时的四种模式总是搞不清楚,只知道选择bridge最好用。为了能更深入了了解,查询了些资料,总结如下第一种
NAT模式Vhost访问网络的所有数据都是由主机提供...
分类:
其他好文 时间:
2014-07-22 23:13:15
阅读次数:
379
版本控制:githttp://git-scm.com/book/zh/
分类:
其他好文 时间:
2014-07-22 23:13:13
阅读次数:
296
文中用快慢指针详细分析了在有环路的链表上,两个指针会在何时、何地相遇,如何知道相遇点偏离了环路起点多远。
分类:
其他好文 时间:
2014-07-22 23:13:13
阅读次数:
375