2014年10月16日

【CCTYPE函数系列】

摘要: #include 的函数 c++中应该是#include c中应该是#include 以下为字符函数库中常用的函数: 函数名称 返回值 isalnum() 如果参数是字母数字,即字母或数字,该函数返回true isalpha() 如果参数是字母,该函数返... 阅读全文

posted @ 2014-10-16 21:05 DDUPzy 阅读(4990) 评论(0) 推荐(0) 编辑

【输入输出挂】【Uva11462】Age Sort

摘要: 例题17 年龄排序(Age Sort, UVa 11462)照从小到大的顺序输出。 【输入格式】 输入包含多组测试数据。每组数据的第一行为整数n(0<n≤2 000 000),即居民总数;下一行包含n个不小于1、不大于100的整数,即各居民的年龄。输入结束标志为n=0。 输入文件约有25MB,... 阅读全文

posted @ 2014-10-16 18:31 DDUPzy 阅读(209) 评论(0) 推荐(0) 编辑

【树形贪心】【UVA1267】Network

摘要: 重要意义:复习好久没写的邻接表了。 Network, Seoul 2007, LA3902 Consider a tree network with n nodes where the internal nodes correspond to servers and the terminal... 阅读全文

posted @ 2014-10-16 17:12 DDUPzy 阅读(235) 评论(0) 推荐(0) 编辑

导航