QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#42676 | #4413. Cyber Language | 01shijian# | WA | 1ms | 3692kb | C++ | 295b | 2022-08-03 14:28:30 | 2022-08-03 14:28:30 |
Judging History
answer
#include<bits/stdc++.h>
#define ios ios::sync_with_stdio(false); cin.tie(0), cout.tie(0)
using namespace std;
int main()
{
ios;
int T;cin>>T;
while(T--)
{
string s;
while(cin>>s) cout<<(char)toupper(s[0]);
cout<<"\n";
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3692kb
input:
10 qing lian xi wo bao gao wo dai ni men da da shi suo qu bao dao yong yuan de shen xiao si wo le shi zhen de ni shuo de dou dui yin yang guai qi
output:
QLXWBGWDNMDDSSQBDYYDSXSWLSZDNSDDDYYGQ
result:
wrong answer 1st lines differ - expected: 'QLXW', found: 'QLXWBGWDNMDDSSQBDYYDSXSWLSZDNSDDDYYGQ'