苦瓜迅
苦瓜迅
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
苦瓜迅的博客
全部文章
(共1篇)
题解 | #整数的十位#
C++一个可以用但没必要的做法: 反转字符串输出s[1],就是第十位了 代码如下: #include<bits/stdc++.h> using namespace std; string s; int main(){ cin>>s; reverse(s.begin(),s...
C++
字符串
2024-04-19
2
121