| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 6244 | 陶俊宸 | 元音字母转换 | C++ | Output Limit Exceeded | 0 | 0 MS | 256 KB | 373 | 2020-09-20 07:07:17 |
#include<bits/stdc++.h> using namespace std; int main(){ int t; char l[50]; cin>>t; for(int i=0;i<t;i++){ cin>>l; for(int i=0;i<strlen(l);i++){ if(l[i]>='a') if(l[i]=='a'||l[i]=='e'||l[i]=='i'||l[i]=='o'||l[i]=='u') l[i]-=32; else if(l[i]<='Z') if(l[i]!='a'&&l[i]!='e'&&l[i]!='i'&&l[i]!='o'&&l[i]!='u') l[i]+=32; puts(l); } } return 0; }