人生列车

follow on!success!

导航

2014年7月19日 #

sort函数使用的基本知识

摘要: STL中就自带了排序函数sortsort 对给定区间所有元素进行排序 要使用此函数只需用#include sort即可使用,语法描述为:sort(begin,end),表示一个范围,例子:#include int main(){ int a[20]={2,4,1,23,5,76,0,43,24,6... 阅读全文

posted @ 2014-07-19 15:26 tianxia2s 阅读(346) 评论(0) 推荐(0) 编辑

2014年7月19日——比赛题取石头问题1

摘要: 参考地址:http://blog.csdn.net/abcjennifer/article/details/5922699River HopscotchTime Limit:2000MSMemory Limit:65536KTotal Submissions:2433Accepted:1064Des... 阅读全文

posted @ 2014-07-19 14:24 tianxia2s 阅读(197) 评论(0) 推荐(0) 编辑

2014年7月19日——比赛题取石头问题

摘要: 试题题目:River HopscotchTime Limit:2000MSMemory Limit:65536KTotal Submissions:2433Accepted:1064DescriptionEvery year the cows hold an event featuring a pe... 阅读全文

posted @ 2014-07-19 12:47 tianxia2s 阅读(157) 评论(0) 推荐(0) 编辑