都是最近做usaco時碰到的問題
1. string轉(zhuǎn)int, double
atoi(str.c_str())
atod(str.c_str())
2. std庫里已經(jīng)有swap方法了,難怪我寫了以后反應(yīng)ambiguous method
1. string轉(zhuǎn)int, double
atoi(str.c_str())
atod(str.c_str())
2. std庫里已經(jīng)有swap方法了,難怪我寫了以后反應(yīng)ambiguous method