摘要:
Train Problem IITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2714Accepted Submission(s): 1517Problem DescriptionAs we all know the Train Problem I, the boss of the Ignatius Train Station want to know if all the trains come in strict-increasing o 阅读全文
阅读排行榜
python远程清除sqlserver错误日志
2012-04-18 10:28 by java环境变量, 266 阅读, 收藏,
摘要:
python远程清除sqlserver数据库服务器日志,供参考:# coding=gbkfrom encodings import gbk import re import sysimport osimport pyodbcimport traceback import decimal #连接数据库conn = pyodbc.connect('DRIVER={SQL Server};SERVER=192.168.1.43;DATABASE=master;UID=sa;PWD=passwd123123')# 获取cursor对象来进行操作cursor = conn.cursor( 阅读全文
poj 3349 Snowflake Snow Snowflakes -----hash (vector)
2012-03-15 14:58 by java环境变量, 265 阅读, 收藏,
摘要:
Snowflake Snow SnowflakesTime Limit:4000MSMemory Limit:65536KTotal Submissions:20853Accepted:5449DescriptionYou may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of snowflak 阅读全文
[iphone] LED闪光灯控制
2012-02-24 11:41 by java环境变量, 263 阅读, 收藏,
摘要:
#import<AVFoundation/AVFoundation.h>voidCBLediOS::turnOnLed(){AVCaptureDevice*device=[AVCaptureDevicedefaultDeviceWithMediaType:AVMediaTypeVideo];if([devicehasTorch]){[devicelockForConfiguration:nil];[devicesetTorchMode:AVCaptureTorchModeOn];[deviceunlockForConfiguration];}}voidCBLediOS::turnO 阅读全文
hdu_2037 今年暑假不AC----贪心
2012-02-03 01:04 by java环境变量, 263 阅读, 收藏,
摘要:
今年暑假不ACTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11768Accepted Submission(s): 6069Problem Description“今年暑假不AC?”“是的。”“那你干什么呢?”“看世界杯呀,笨蛋!”“@#$%^&*%...”确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。作为球迷,一定想看尽量多的完整的比赛,当然,作为新时代的好青年,你一定还会看一些其它的节目,比 阅读全文
浙公网安备 33010602011771号