上进小青年

导航

2016年8月4日

bored

摘要: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5375 1 #include<stdio.h> 2 #include<iostream> 3 阅读全文

posted @ 2016-08-04 22:29 上进小青年 阅读(149) 评论(0) 推荐(0) 编辑

c/c++笔记

摘要: string 若要根据字典序比较string类型的大小,只需要用><=就可以啦 例如: string s1="abcz"; string s2="abcd"; if(s1>s2)cout<<"1111111"; else cout<<"2222222222"; 此时输出是1111111; 而对于ch 阅读全文

posted @ 2016-08-04 18:56 上进小青年 阅读(126) 评论(0) 推荐(0) 编辑