火烧赤壁
查看原帖
火烧赤壁
1291225
yangchenhao123楼主2024/8/20 14:02

大佬们,俺不会!```cpp #include <bits/stdc++.h> using namespace std; int main(){ char c[100]; for(int i=0;i<100;i++){ cin>>c[i]; if(c[i]>='a'&&c[i]<='z'){ c[i]-=32; }else continue; } } for(int i=0;i<100;i++){ cout<<c[i]; } }

2024/8/20 14:02
加载中...