forked from m8mvbo72w/test
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
224 B
14 lines
224 B
2 years ago
|
## 编写一个666程序
|
||
|
|
||
|
### 输入一个666并用c++语言把字符串“666”变成整型666
|
||
|
```
|
||
|
#include<iostream>
|
||
|
using namespace std;
|
||
|
int main()
|
||
|
{
|
||
|
string s;
|
||
|
cin>>s;
|
||
|
cout<<stoi(s)<<endl;
|
||
|
return 0;
|
||
|
}
|
||
|
```
|