2021年4月10日

摘要: 一、使用stringstream 类c++中的 <sstream>库定义了三种类:istringstream、ostringstream和stringstream,分别用来进行流的输入、输出和输入输出操作。 二、c++中 stoi将 n 进制的字符串转化为十进制示例:stoi(str, 0, 2); 阅读全文
posted @ 2021-04-10 17:38 行者常至,为者长成 阅读(324) 评论(0) 推荐(0) 编辑
 
摘要: priority_queue的用法 https://blog.csdn.net/xiaoquantouer/article/details/52015928 https://blog.csdn.net/weixin_36888577/article/details/79937886 #include 阅读全文
posted @ 2021-04-10 17:32 行者常至,为者长成 阅读(41) 评论(0) 推荐(0) 编辑