QOJ.ac
QOJ
ID | 提交记录ID | 题目 | Hacker | Owner | 结果 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|
#1123 | #239536 | #8981. Kangaroo Puzzle | quailty | KhyalLin | Failed. | 2024-11-05 18:04:26 | 2024-11-05 18:04:26 |
详细
Extra Test:
Accepted
time: 0ms
memory: 3648kb
input:
20 20 11111011111011111011 00101100101100101101 10110110110110110111 10011011011011011001 11101101101101101101 10110110110110110110 11011011011011011011 01101101101101101101 10110110110110110111 10011011011011011001 11101101101101101101 10110110110110110110 11011011011011011011 01101101101101101101 ...
output:
DDRDDRUUUDUDUDLURDLRDDLUURRRDDLULUDRRRRRLRDLLRLUDRRULUULRUULDLLRDURLRDLUDRDRDRUUDRLRULURLULUDDRUDDLLLDDRLUDURDUDDLLDRDLUDDUULUURDDLRURDDRLDDRDULUDRRULRDRURUURUDLLDDUUURLDLLUDDUUDRURRDDRLRRLRLDURUUUURLDUDRDLRDRRDDDLULDRURDLDDLDDLRLDLDLUUDURLRLRLDRDLRDULRDUULDLUUULDLDDRDLULRRDLDUDLDRRLLRDDLRDLRURUDDRU...
result:
ok AC
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#239536 | #8981. Kangaroo Puzzle | KhyalLin | WA | 1ms | 3684kb | C++14 | 229b | 2023-11-04 21:09:45 | 2024-11-05 18:07:55 |
answer
#include <iostream>
#include <cstdlib>
using namespace std;
int main(void)
{
char s[] = { 'U', 'L', 'D', 'R' };
srand(rand());
for (int i = 0; i < 5e4; i++)
cout << s[rand() % 4];
return 0;
}