码迷,mamicode.com
首页 >  
搜索关键字:“How are you    ( 33751个结果
LeetCode OJ - Linked List Cycle
题目: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space?解题思路: 使用快慢指针,快指针每次走两步,慢指针每次走一步...
分类:其他好文   时间:2014-05-16 05:19:21    阅读次数:271
LeetCode OJ - Linked List Cycle II
题目: Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it without using extr...
分类:其他好文   时间:2014-05-16 04:50:13    阅读次数:329
百度,你家云管家能靠谱点不?替你脸红!Shame on you!
艾玛好歹也是云存储巨头, 好歹对数据读写要抱有起码的敬畏吧? 你错几个字节让用户情何以堪? Check CRC你总该知道吧? MD5 or SHA1你也都知道吧? 文件传输完check一下不行么?
分类:其他好文   时间:2014-05-15 16:37:57    阅读次数:321
Multi-Thread 1: how to use synchronized
1. synchronized If two threads are using the same function( here we use output to print out string) of another instance, if we want to make sure that these two threads are not disturbing each other. ...
分类:其他好文   时间:2014-05-15 11:14:14    阅读次数:389
zoj3678The Toy of Flandre Scarlet(水,高中老师提过。。)
The Toy of Flandre Scarlet Time Limit: 2 Seconds      Memory Limit: 65536 KB As you know, Flandre Scarlet loves her elder sister Remilia Scarlet, and of course, Remilia loves Flandre, too. B...
分类:其他好文   时间:2014-05-15 07:06:45    阅读次数:259
CareerCup之1.6 Rotate Image
【题目】 原文: 1.6 Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? 译文: 一张图像表示...
分类:其他好文   时间:2014-05-15 05:43:35    阅读次数:240
hdu how many prime numbers 筛选法求素数
/* * hdu How many prime numbers * date 2014/5/13 * state AC */ #include #include #include using namespace std; bool isPrime(int x) { int sqr=sqrt(x*1.0); for(int i=2;i<=sqr;i++) {...
分类:其他好文   时间:2014-05-15 05:07:18    阅读次数:261
C++ - Identifier not found
?? This is because forward declaration in C++: Compiler needs to know function prototype when function call is compiled. So, you need declare the called function first or place the called function be...
分类:编程语言   时间:2014-05-15 04:52:19    阅读次数:211
LeetCode 006 ZigZag Conversion
【题目】 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSI...
分类:其他好文   时间:2014-05-15 04:30:57    阅读次数:313
随笔 : Do you remember Turbo Basic?
老爷子心不老, 依然在勤勤恳恳地敲着书和代码...没错, 就是source code. 像老爷子这样的老一辈会用电脑的都不多, 而我亲爱的老爷子那是会Turbo Basic的顶尖高手啊...每次想到这个, 内心都倍感自豪... 当年的"窗口"编程极其繁琐, 如果不看看那一套, 再加上个, 都不保证能...
分类:其他好文   时间:2014-05-14 13:38:42    阅读次数:327
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!