码迷,mamicode.com
首页 >  
搜索关键字:you must not use 8-bit bytestrings    ( 56378个结果
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
[LeetCode]String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases. Notes: It is intended for this problem to be specifi...
分类:其他好文   时间:2014-05-15 05:00:50    阅读次数:229
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
LeetCode-005 Longest Palindromic Substrin
【题目】 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 【题意】 题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解 【思路】 原字符串用特殊字符#间隔,如下所示: #a...
分类:其他好文   时间:2014-05-15 03:31:25    阅读次数:299
sqlserver 脚本和批处理指令小结
一.脚本基础 1.USE语句 设置当前数据库。 2.声明变量 语法:DECLARE @变量名 变量类型 在声明变量后,给变量赋值之前,变量的值为NULL。 将系统函数赋给声明的变量,这个方法可以使我们能更安全地使用值,该值只有人为地改变时它才变动。如果直接使用系统函数本身,那么当它发生变动时,有 时...
分类:数据库   时间:2014-05-14 13:23:11    阅读次数:508
POJ 1742
CoinsTime Limit:3000MSMemory Limit:30000KTotal Submissions:27580Accepted:9335DescriptionPeople in Silverland use coins.They have coins of value A1,A2,...
分类:其他好文   时间:2014-05-14 11:52:46    阅读次数:270
net use与shutdown配合使用,本机重启远程服务器
net use与shutdown配合使用,本机重启远程服务器 今天服务器出现问题了,能ping通,但就是远程登录服务器后,服务器无法响应。 在本机测试发现ftp服务可以使用,于是就想通过ftp就行重启服务器。可是倒弄了半天,也没有弄好。 唉,只能放弃此想法。另谋他法了,记得曾经在一篇文章读到过关于通...
分类:Web程序   时间:2014-05-14 11:01:38    阅读次数:399
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!