QOJ.ac
QOJ
ID | Submission ID | Problem | Hacker | Owner | Result | Submit time | Judge time |
---|---|---|---|---|---|---|---|
#1130 | #239536 | #8981. Kangaroo Puzzle | quailty | KhyalLin | Success! | 2024-11-05 18:07:41 | 2024-11-05 18:07:42 |
Details
Extra Test:
Wrong Answer
time: 1ms
memory: 3624kb
input:
20 20 11111011111011111011 00101100101100101101 10110110110110110111 10011011011011011001 11101101101101101101 10110110110110110110 11011011011011011011 01101101101101101101 10110110110110110111 10011011011011011001 11101101101101101101 10110110110110110110 11011011011011011011 01101101101101101101 ...
output:
DDRDDRUUUDUDUDLURDLRDDLUURRRDDLULUDRRRRRLRDLLRLUDRRULUULRUULDLLRDURLRDLUDRDRDRUUDRLRULURLULUDDRUDDLLLDDRLUDURDUDDLLDRDLUDDUULUURDDLRURDDRLDDRDULUDRRULRDRURUURUDLLDDUUURLDLLUDDUUDRURRDDRLRRLRLDURUUUURLDUDRDLRDRRDDDLULDRURDLDDLDDLRLDLDLUUDURLRLRLDRDLRDULRDUULDLUUULDLDDRDLULRRDLDUDLDRRLLRDDLRDLRURUDDRU...
result:
wrong answer WA
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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;
}