QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#622041#6431. Oops, It's Yesterday Twice MoreKXDdesuWA 0ms3604kbC++23617b2024-10-08 19:37:532024-10-08 19:38:00

Judging History

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

  • [2024-10-08 19:38:00]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3604kb
  • [2024-10-08 19:37:53]
  • 提交

answer

#include<bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
#define lowbit(x) ((x) & (-x))
using i64 = long long;
using pii = std::pair<int, int>;
void solve()
{
    int n, a, b;
    std::cin >> n >> a >> b;
    for (int i = 0; i <= a; i ++) {
        std::cout << "R";
    }
    for (int i = 0; i <= b; i ++) {
        std::cout << "D";
    }
    std::cout << '\n';
}
int main()
{
    std::cin.tie(nullptr);
    std::cout.tie(nullptr);
    std::ios::sync_with_stdio(false);
    int T = 1;
    //std::cin >> T;
    while (T --) solve();
    return 0;
}

详细

Test #1:

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

input:

3 3 3

output:

RRRRDDDD

result:

wrong answer Too long.