摘要: B. Infinite Prefixes time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given strin 阅读全文
posted @ 2020-01-30 22:29 hulian425 阅读(203) 评论(0) 推荐(0) 编辑
摘要: c++中的string如何删掉最后一个字符 // 1. s = s.substr(0,s.size() - 1); // 2. s = s.erase(s.end() -1); // 3. s.pop_back(); 将string 转化为c的字符串 s.c_str(); char c[20]; s 阅读全文
posted @ 2020-01-30 14:29 hulian425 阅读(107) 评论(0) 推荐(0) 编辑
摘要: A. Display The Number time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have a large el 阅读全文
posted @ 2020-01-30 13:47 hulian425 阅读(247) 评论(0) 推荐(0) 编辑