时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yue 去掉非法数据计算账单A long-distance telephone company charges its customers by the following rules:Ma...
分类:
其他 时间:
2015-12-06 11:19:25
收藏:
0 评论:
0 赞:
0 阅读:
278
Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given "Is PAT&TAP symmetric?", the longest sym...
分类:
其他 时间:
2015-12-06 11:19:15
收藏:
0 评论:
0 赞:
0 阅读:
187
题目:Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a functi...
分类:
其他 时间:
2015-12-06 11:19:05
收藏:
0 评论:
0 赞:
0 阅读:
133
题目:Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like...
分类:
其他 时间:
2015-12-06 11:18:45
收藏:
0 评论:
0 赞:
0 阅读:
117
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords ...
分类:
其他 时间:
2015-12-06 11:18:35
收藏:
0 评论:
0 赞:
0 阅读:
157
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number...
分类:
其他 时间:
2015-12-06 11:18:15
收藏:
0 评论:
0 赞:
0 阅读:
288
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given {32, 321, 3214, 0229, 87}, we can...
分类:
其他 时间:
2015-12-06 11:18:05
收藏:
0 评论:
0 赞:
0 阅读:
164
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yue(二叉树建立方法)A Binary Search Tree (BST) is recursively defined as a binary tree which has the fo...
分类:
其他 时间:
2015-12-06 11:17:55
收藏:
0 评论:
0 赞:
0 阅读:
171
image lazyload 原理分析lazyload.js实现图片异步载入
分类:
其他 时间:
2015-12-06 11:17:45
收藏:
0 评论:
0 赞:
0 阅读:
141
It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that c...
分类:
其他 时间:
2015-12-06 11:17:35
收藏:
0 评论:
0 赞:
0 阅读:
258
public class Solution { public String longestPalindrome(String s) { int length = s.length(); String result = ""; for (int i = ...
分类:
其他 时间:
2015-12-06 11:17:15
收藏:
0 评论:
0 赞:
0 阅读:
149
printf 比cout 执行要快时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueExcel can sort records according to any column. Now you are supposed to imi...
分类:
其他 时间:
2015-12-06 11:16:55
收藏:
0 评论:
0 赞:
0 阅读:
148
AtlantisTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7815Accepted Submission(s): 3420Problem De...
分类:
其他 时间:
2015-12-06 11:16:35
收藏:
0 评论:
0 赞:
0 阅读:
243
LCS 最大公共子序列。 memset函数需要include 时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueEva is trying to make her own color stripe out of a given one...
分类:
其他 时间:
2015-12-06 11:16:25
收藏:
0 评论:
0 赞:
0 阅读:
262
第二条:类的头文件中尽量少引入其他头文件使用向前声明(forward declaring)@class EOCEmployer1, 将引入头文件的实际尽量延后,只在确有需要时才引入,这样就可以减少类的使用者所需引入的头文件数量,减少编译时间。2,解决了两个类互相引用的问题有时无法使用向前声明,比如要...
分类:
其他 时间:
2015-12-06 11:16:15
收藏:
0 评论:
0 赞:
0 阅读:
187
由于前一段时间一直在做关于stm32f407的相关内容,于是安装的Keil是MDK5,最近一阵子想再看看51单片机以前没有做过的内容,就要再安装一个Keil C51,结果就不可避免的遇到了两个软件必须要修改配置才能兼容的问题。网上我也找了很多的解决办法,这里提供一种看到的相当简单的解决思路。 ...
分类:
其他 时间:
2015-12-06 11:16:05
收藏:
0 评论:
0 赞:
0 阅读:
261
谁说IT不懂爱|爆笑呆萌伐木累情感上的孤独,事业上的沉醉,往往会让我们陷入两难。对于爱情,我们勇敢的说是,对于结果,我们又会勇敢的面对。当一个程序小白,努力去工作,向全世界宣称:我要奋斗的时候,心声告诉他,这只是对感情在逃避。。。无论如何,让自己忙起来,总会好过一些,毕竟我们还是要生活。昨天都过去了...
分类:
其他 时间:
2015-12-06 11:15:15
收藏:
0 评论:
0 赞:
0 阅读:
265
统一设置导航栏与状态栏代码:#import "AppDelegate.h"#import "SZMMainTabBarController.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(U...
分类:
其他 时间:
2015-12-06 11:15:05
收藏:
0 评论:
0 赞:
0 阅读:
257
第三条:多用字面量语法,少用与之等价的方法几个类:NSString NSNumber NSArray NSDictionary字面量语法是一种语法糖(syntactic sugar)NSString *someString = @"字符串字面量";字面量数值:NSNumber *someNumber...
分类:
其他 时间:
2015-12-06 11:14:55
收藏:
0 评论:
0 赞:
0 阅读:
170
1,注意加法越界的问题,用long long可以存一次和,相加之后要写加法器来做2,注意vector 中是用 size() 函数来表示其内部的个数的。 结尾附上常用vector函数The magic shop in Mars is offering some magic coupons. Each ...
分类:
其他 时间:
2015-12-06 11:14:45
收藏:
0 评论:
0 赞:
0 阅读:
229