leetcode的第一题,回文数判断。原题如下:For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is not a palindrome.Note: Have you consider that t...
分类:
其他好文 时间:
2014-11-09 19:33:04
阅读次数:
300
Tables and chairs, Sink(水槽)stove炉子 refrigerator (冰箱)do you have a dogno I don't公寓管理员之行trash (垃圾)niceparking do you having car?yes I do .two carsOne pa...
分类:
其他好文 时间:
2014-11-05 22:41:25
阅读次数:
195
题目描述:
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car...
分类:
其他好文 时间:
2014-11-05 21:30:46
阅读次数:
160
car = $car; } public function run(){ $this->car->run(); echo '高速公路上行驶'; }}class street extends road{ public $car; public function __construct($car...
分类:
Web程序 时间:
2014-11-05 12:33:18
阅读次数:
223
关于抽象类:abstract class Car{ abstract function getMaximumSpeed();}class FastCar extends Car{ function getMaximumSpeed(){ return 150; }}注意事项:如果实现的类也是抽象的,....
分类:
Web程序 时间:
2014-11-05 10:34:48
阅读次数:
240
用于文件操作主要有两个类ifstream,ofstream,fstream,例子如下1. 读操作#include using name space std;int main(){ cCar car; // initialize a car object ifstream...
分类:
编程语言 时间:
2014-11-05 00:07:33
阅读次数:
262
select DISTINCT carnum from new_op_car_ownerdelete from new_op_car_owner where carnum in(select carnum from(select max(carnum) as carnum,count(carnum)...
分类:
其他好文 时间:
2014-10-31 19:01:13
阅读次数:
159
delete from op_car_owners2 where carnum in(select carnum from(select max(carnum ) as carnum ,count(carnum) as count from op_car_owners2 group by carnu...
分类:
数据库 时间:
2014-10-31 18:53:19
阅读次数:
267
select * from op_breakrule where hphm='苏A2GD78'show index from op_car_owner;alter table op_car_owner add index index_chassisid(chassisid) ;drop index ...
分类:
数据库 时间:
2014-10-31 18:48:21
阅读次数:
202
逻辑运算符 学习目标:理解逻辑运算符和使用(&& ||)。' ;$house=true;$car=true;if($house===true&&$car===true){ //分析: 用‘&&’逻辑符判断 ‘并且’ 要满足二个条件才为真。 echo 'I love you','';} else...
分类:
其他好文 时间:
2014-10-30 19:05:04
阅读次数:
171