QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#255009#6431. Oops, It's Yesterday Twice MoreSatsuki#WA 0ms3748kbC++17351b2023-11-18 14:30:032023-11-18 14:30:03

Judging History

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

  • [2023-11-18 14:30:03]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3748kb
  • [2023-11-18 14:30:03]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
signed main()
{
	int n, a, b;
	cin >> n >> a >> b;
	for(int i = 1; i <= n - 1; ++ i)
	{
		printf("U");
	}
	for(int i = 1; i <= n - 1; ++ i)
	{
		printf("L");
	}
	for(int i = 1; i <= a - 1; ++ i)
	{
		printf("D");
	}
	for(int i = 1; i <= b - 1; ++ i)
	{
		printf("R");
	}
	return 0;
}

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3748kb

input:

3 3 3

output:

UULLDDRR

result:

wrong answer Too long.