码迷,mamicode.com
首页 > 其他好文
ACdream: ACfun
ACfun Time Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others) SubmitStatisticNext Problem Problem Description As a former ACMer, "AC" is a special abbreviated wor...
分类:其他好文   时间:2014-07-12 22:37:58    阅读次数:161
ACdream原创群赛(16) J
Sum Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others) SubmitStatus Problem Description You are given an N*N digit matrix and you can get several horizontal o...
分类:其他好文   时间:2014-07-12 21:17:15    阅读次数:182
计算机常识--工具软件篇
MIME类型   MIME类型就是设定某种扩展名的文件用一种应用程序来打开的方式类型。当改扩展名的文件被访问的时候,浏览器会自动使用指定的应用程序来打开。 控制面板--管理工具--Internet信息服务(IIS)管理--网站--default--MIME类型--添加 .   Application/*-director  无扩展名文件 .*   application/*-directo...
分类:其他好文   时间:2014-07-12 17:08:39    阅读次数:218
ACdream: Sum
Sum Time Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others) SubmitStatisticNext Problem Problem Description You are given an N*N digit matrix and you can get seve...
分类:其他好文   时间:2014-07-12 22:17:10    阅读次数:236
Leetcode:Swap Nodes in Pairs 单链表相邻两节点逆置
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. Y...
分类:其他好文   时间:2014-07-12 20:39:17    阅读次数:225
int long long 的取值范围
unsigned   int   0~4294967295   //整型的每一种都有无符号(unsigned)和有符号(signed)两种类型(float和double总是带符号的),在默认情况下声明的整型变量都是有符号的类型(char有点特别),如果需声明无符号类型的话就需要在类型前加上unsigned。无符号版本和有符号版本的区别就是无符号类型能保存2倍于有符号类型的正整数数据。 int  ...
分类:其他好文   时间:2014-07-12 23:24:54    阅读次数:775
ACdream ACfun
题目不难,但由于个人英语不好。。。。。 百度了下,题目意思是要求出字典序最小的并且不是所输入字符的子串; 也就是输出最多的连续的A; 如果没有A,输出一个A; #include #include int main() { int a,i,j,b,c,d; char t[105]; scanf("%d",&a); while(a--) { d=1; scanf("%s",t...
分类:其他好文   时间:2014-07-12 17:14:32    阅读次数:152
C 删除字符串1中的字符串2
#include #include void main() { char s1[1000],s2[100],b[100]; int i,j,k,len1,len2; gets(s1); gets(s2); len1=strlen(s1); len2=strlen(s2); for(i=0,k=0;i { for(j=0;j if(s1[i+j]!=s2[j])break;...
分类:其他好文   时间:2014-07-12 23:41:03    阅读次数:195
编程学习中要注意效率和感受
早一个多月,收到了一位网友的求助信,请我帮他做一道程序题。这样的求助我是不会直接解答的。如果要想通过读程序来学习,可读的程序太多了,不在乎由我写的这一段程序。  我给他的回信是,他可以自己做出来一个版本,无论对错,我们就他的做法进行讨论。这是我认为有效的交流。提问者没有做,靠着人给讲,这种学习方式,可以休矣。无论对错、好坏,他自己做过了,针对他自己的讨论点就出来了。我当时的答复是:  我的时间有限...
分类:其他好文   时间:2014-07-12 18:08:33    阅读次数:166
Just like normal variables,
Just like normal variables, pointers can be declared constant. There are two different ways that pointers and const can be intermixed, and they are very easy to mix up. To declare a const pointer, ...
分类:其他好文   时间:2014-07-12 21:20:23    阅读次数:165
程序员颈椎保护指南
我们程序员天天对着电脑,眼睛,颈椎等等,都会落下不少的职业病。来说说怎么治疗自己的颈椎病。。。。...
分类:其他好文   时间:2014-07-12 17:13:54    阅读次数:130
POJ 3020 Antenna Placement
Antenna Placement Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6342 Accepted: 3131 Description The Global Aerial Research Centre has been allotted the task of building the fi...
分类:其他好文   时间:2014-07-12 19:07:08    阅读次数:181
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:其他好文   时间:2014-07-12 19:06:27    阅读次数:204
C和指针 (pointers on C)——第五章:操作符和表达式
第五章 操作符和表达式 这一章如果没做过玩过单片机、汇编的话,读起来可能比较吃力,尤其是在移位运算符、位运算符应用上。另外多注意一下左值和右值的理解。 总结: 算术操作符、赋值操作符、关系操作符、条件操作符。 短路求值(short-circuited evalution):如||这样的二目操作符,如果它的左操作数是真,右操作数便不再求值。带来的后果是如果右操作数的数组下标不...
分类:其他好文   时间:2014-07-12 22:42:37    阅读次数:226
LeetCode——Valid Palindrome
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" is not a ...
分类:其他好文   时间:2014-07-12 20:10:54    阅读次数:165
解决在SharePoint 2010/2013部署自己的Event Handler后,抛出”不能加载被引用的第三方的程序集"的问题
解决在SharePoint 2010 部署自己Event Handler后,解决”Could not load file or assembly 'TIBCO.EMS, Version=1.0.700.12, Culture=neutral, PublicKeyToken=5b83db8ff05c64ba' or one of its dependencies. The system cannot find the file specified. “的问题...
分类:其他好文   时间:2014-07-12 21:37:56    阅读次数:283
uitableview学习---1
#import "ViewController.h" @interface ViewController () @property (strong,nonatomic) NSArray *bj; @property (strong, nonatomic)NSArray *gd; @end @implementation ViewController - (void)viewDidLoad...
分类:其他好文   时间:2014-07-12 22:22:54    阅读次数:286
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!