题目有问题

#include<bits/stdc++.h>
#include<windows.h>
#include<stdio.h>
#include<conio.h>
#include<time.h>
using namespace std;
string s;
int main(){
	getline(cin,s);
	int a=s.length();
	for(int i=0;i<a;i++){
		if(s[i]>='a' && s[i]<='z'){
			s[i] -= 32;
		}
	}
	cout << s;
	return 0;
}

1 条评论

  • 1

信息

ID
142
时间
ms
内存
MiB
难度
7
标签
递交数
191
已通过
51
上传者