摘要:
STL入门教程 写在前面:博主在学习STL的时候遇到了很多困扰,博主认为其根本原因是因为大多数初学者同笔者一样,急于求成,想尽快实现自己需要的功能,特别是对迭代器了解不深。笔者希望通过这篇文章,让各位读者真正认识STL这个常见、方便而优秀的模板库,也希望这篇博文成为最优秀STL入门教程之一。 STL 阅读全文
posted @ 2018-08-17 20:27
ronnie14165
阅读(560)
评论(0)
推荐(0)
摘要:
UVA 725sprintf(buf, "%05d%05d", abcde, fghij);0补位,避免153078 / 02469 = 62数据出现。153078 / 02469 = 62中,153078 / 2469 = 62,由于没有补位,也整好满足相除等于62... 阅读全文
posted @ 2018-08-17 20:26
ronnie14165
阅读(80)
评论(0)
推荐(0)
摘要:
UVA 11059#includeusing namespace std;int main() { int S[20], kase = 0, n; while(cin >> n && n) { for(int i = 0; i > S... 阅读全文
posted @ 2018-08-17 20:26
ronnie14165
阅读(67)
评论(0)
推荐(0)
摘要:
输入输出相同#includechar*s="#include%cchar*s=%c%s%c;main(){printf(s,10,34,s,34);}";main(){printf(s,10,34,s,34);} 阅读全文
posted @ 2018-08-17 20:26
ronnie14165
阅读(454)
评论(0)
推荐(0)
摘要:
UVA 10815 set#include#include#include#includeusing namespace std;set dict;string s, buf;int main() { while(cin >> s) //???这里需要Ctrl+... 阅读全文
posted @ 2018-08-17 20:18
ronnie14165
阅读(86)
评论(0)
推荐(0)

浙公网安备 33010602011771号