Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76948 谢绍澜 词组缩写 C++ Wrong Answer 0 MS 276 KB 296 2024-06-06 18:31:05

Tests(0/1):


Code:

#include<iostream> #include<cmath> using namespace std; int main(){ int t; cin>>t; char a[t]; for(int i=0;i<t;i++){ a[i]=cin.get(); } for(int i=0;i<t;i++){ if(a[i]>64&&a[i]<91) a[i]+=32; cout<<a[i]; } return 0; }


Run Info:

------Input------
10 asdfghjklp bnmlkjhgfd cvbnmlkjhg dfghjklpoi ertyuioplk fghjklpoiu ghjklpoiuy hytgbvfred iuytrewqas jklpoiuytr a B C d e qwertyuioplkjhgfd Qweer psdafdsf SFGCHV qwertyuhbgfd bvcvgtrdfg Q E R F D CD Rttt aa bb cc dd ee Aa Bb Cc Dd Ee plokijuhyg QWERTYUIO Qpojh jhuQWEE QWERTYUJMNBVCDFGH
------Answer-----
ABCDEFGHIJ ABCDE Q QPS QB QERFDCR ABCDE ABCDE PQQJ Q
------Your output-----
asdfghjkl