QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#49652 | #4413. Cyber Language | lqhsmash | WA | 2ms | 3548kb | C++11 | 691b | 2022-09-22 10:35:15 | 2022-09-22 10:35:18 |
Judging History
answer
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N = 2e5 + 50;
char s[N];
int main() {
#ifdef LOCAL
clock_t c1 = clock();
freopen("in.in", "r", stdin);
freopen("out.out", "w", stdout);
#endif
// ===================================================
int T;
scanf ("%d", &T);
getchar ();
while (T --) {
gets (s);
if (*s == 'k') printf("KK\n");
else if (*s == 'd') printf("DDW\n");
else printf("SMWY\n");
}
// ===================================================
#ifdef LOCAL
cerr << "Time Used: " << clock() - c1 << "ms" << endl;
#endif
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 2ms
memory: 3548kb
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:
SMWY SMWY SMWY DDW SMWY SMWY SMWY SMWY SMWY SMWY
result:
wrong answer 1st lines differ - expected: 'QLXW', found: 'SMWY'