摘要: min_element()和max_element 头文件:#include<algorithm> 作用:返回容器中最小值和最大值。max_element(first,end,cmp);其中cmp为可选择参数! 闲言少叙,上代码,一看就懂: 阅读全文
posted @ 2017-04-19 16:43 Angel_Kitty 阅读(19795) 评论(2) 推荐(7)
摘要: A. Vicious Keyboard time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Tonio has a keyboard 阅读全文
posted @ 2017-04-19 08:55 Angel_Kitty 阅读(312) 评论(2) 推荐(0)