![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
nodarkness
这个作者很懒,什么都没留下…
展开
-
解决编译C++程序时to_string()未声明等相关问题
#include <iostream>#include <string>using namespace std;int main() { string s; cin >> s; int sum = 0; string str[10] = {"ling", "yi", "er", "san", "si", "wu", "li...原创 2019-03-20 21:00:12 · 7852 阅读 · 2 评论 -
PAT(甲) 1121 Damn Single (25 分)
"Damn Single (单身狗)" is the Chinese nickname for someone who is being single. You are supposed to find those who are alone in a big party, so they can be taken care of.Input Specification:Each inpu...原创 2019-08-18 21:27:03 · 93 阅读 · 0 评论 -
PAT(甲)1092 To Buy or Not to Buy (20 分)
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of beads. However the owner of the shop would only sel...原创 2019-08-22 21:50:20 · 116 阅读 · 0 评论