摘要:
例题 例题5-1 大理石在哪儿(Where is the Marble?,Uva 10474) 主要是熟悉一下sort和lower_bound的用法 关于lower_bound: http://blog.csdn.net/niushuai666/article/details/6734403 此外还 阅读全文
posted @ 2016-01-31 22:02
qlky
阅读(519)
评论(0)
推荐(0)
摘要:
memcmp(const void *buf1, const void *buf2, unsigned int count)可以比较两个串相等 http://baike.baidu.com/link?url=moP6BHDBs7PfCbVKaICYTP9biwBKdYjBfy2Raz45kwLx1S 阅读全文
posted @ 2016-01-31 17:24
qlky
阅读(290)
评论(0)
推荐(0)
摘要:
我的思路是A右与B左对齐,然后一路滑过去,寻找其中的最小值。然而WA。。 #include <iostream> #include <string> #include <cstring> #include <cstdlib> #include <cstdio> #include <cmath> #i 阅读全文
posted @ 2016-01-31 16:12
qlky
阅读(319)
评论(0)
推荐(0)
摘要:
首先可以用fgets读取一行,用辅助字符数组保存字母和在原数组的序号 http://blog.chinaunix.net/uid-22566367-id-381994.html http://blog.chinaunix.net/uid-21757287-id-327365.html 接下来有几种方 阅读全文
posted @ 2016-01-31 00:54
qlky
阅读(220)
评论(0)
推荐(0)

浙公网安备 33010602011771号