QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#41286 | #4413. Cyber Language | DaBenZhongXiaSongKuaiDi# | WA | 2ms | 3756kb | C++14 | 379b | 2022-07-29 13:32:41 | 2022-07-29 13:32:42 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t,ch;
cin>>t;
ch=getchar();
while(ch!=EOF)
{
if(ch=='\n')printf("\n");
else if(ch=='k')printf("K");
else if(ch=='d')printf("D");
else if(ch=='w')printf("W");
else if(ch=='s')printf("S");
else if(ch=='m')printf("M");
else if(ch=='y')printf("Y");
ch=getchar();
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 2ms
memory: 3756kb
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:
W WDMD DSS D YYDS SW SD SDDD YY
result:
wrong answer 1st lines differ - expected: 'QLXW', found: ''