06 2021 档案

摘要:stoi(const string& __str, size_t* __idx = 0, int __base = 10) 表示字符串str从_idx位置开始至末尾将_base进制的数转换成十进制,默认从位置0开始,进制为十进制 例: 输出: 分析: 表示将240从十进制转换成十进制,所以输出为24 阅读全文
posted @ 2021-06-26 15:42 柒尛姗 阅读(3671) 评论(0) 推荐(0)