摘要:
Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionFreddy Frog is sitting on a stone in the middle of a lake. Su...
阅读全文
posted @ 2014-07-26 11:14
lipching
阅读(164)
推荐(0)
摘要:
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe GeoSurvComp geologic survey company is responsible for de...
阅读全文
posted @ 2014-07-25 16:20
lipching
阅读(168)
推荐(0)
摘要:
Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionFarmer John has built a new long barn, with N (2 #include #...
阅读全文
posted @ 2014-07-25 16:17
lipching
阅读(212)
推荐(0)
摘要:
Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven a list of phone numbers, determine if it is consistent ...
阅读全文
posted @ 2014-07-25 15:36
lipching
阅读(182)
推荐(0)
摘要:
Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIn millions of newspapers across the United States there is a...
阅读全文
posted @ 2014-07-25 09:35
lipching
阅读(159)
推荐(0)
摘要:
Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 3624DescriptionA computer programmer lives in a street with ...
阅读全文
posted @ 2014-07-24 15:27
lipching
阅读(226)
推荐(0)
摘要:
Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 3624DescriptionBessie has gone to the mall's jewelry store a...
阅读全文
posted @ 2014-07-24 10:49
lipching
阅读(220)
推荐(0)
摘要:
1.字符测试:isalnum(测试字符是否为英文或数字) 相关函数 isalpha,isdigit,islower,isupper表头文件 #include定义函数 int isalnum (int c)函数说明 检查参数c是否为英文字母或阿拉伯数字,在标准c中相当于使用“isalpha(c) ||...
阅读全文
posted @ 2014-07-24 10:33
lipching
阅读(475)
推荐(0)
摘要:
assert宏的原型定义在中,其作用是如果它的条件返回错误,则终止程序执行,原型定义:#include void assert( int expression ); assert的作用是现计算表达式 expression ,如果其值为假(即为0),那么它先向stderr打印一条出错信息,然后通过调...
阅读全文
posted @ 2014-07-22 17:00
lipching
阅读(183)
推荐(0)
摘要:
1.abs 原型:extern int abs(int x); 用法:#include 功能:求整数x的绝对值 说明:计算|x|, 当x不为负时返回x,否则返回-x 举例: // abs.c #include #include ...
阅读全文
posted @ 2014-07-22 15:27
lipching
阅读(314)
推荐(0)