QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#42676#4413. Cyber Language01shijian#WA 1ms3692kbC++295b2022-08-03 14:28:302022-08-03 14:28:30

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-08-03 14:28:30]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3692kb
  • [2022-08-03 14:28:30]
  • 提交

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;
}

详细

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'