QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#41286#4413. Cyber LanguageDaBenZhongXiaSongKuaiDi#WA 2ms3756kbC++14379b2022-07-29 13:32:412022-07-29 13:32:42

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-07-29 13:32:42]
  • 评测
  • 测评结果:WA
  • 用时:2ms
  • 内存:3756kb
  • [2022-07-29 13:32:41]
  • 提交

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: ''