C++代码:
/*
P5733 【深基6.例1】自动修正
https://www.luogu.com.cn/problem/P5733
*/
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin>>s;
for(int i=0;i<s.size();i++)
{
if( s[i]>='a' && s[i]<='z' )
{
s[i]=s[i]-('a'-'A');
}
}
cout<<s;
return 0;
}
python3代码:
""" P5733 【深基6.例1】自动修正 https://www.luogu.com.cn/problem/P5733 """ ans=input() ans=ans.upper() print( ans )
专利相关书籍(一)
https://blog.csdn.net/dllglvzhenfeng/article/details/122793070
专利相关书籍(二)
https://blog.csdn.net/dllglvzhenfeng/article/details/122793269
几本科普科幻的书籍
https://blog.csdn.net/dllglvzhenfeng/article/details/122793773
简史系列书籍
https://blog.csdn.net/dllglvzhenfeng/article/details/122794361
基础省选+NOI-第4部分 动态规划
https://blog.csdn.net/dllglvzhenfeng/article/details/122842354
几本人工智能入门书籍
https://blog.csdn.net/dllglvzhenfeng/article/details/122843538
人工智能入门相关书籍
https://blog.csdn.net/dllglvzhenfeng/article/details/122843941