QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#722465 | #8981. Kangaroo Puzzle | KavenSky | WA | 4ms | 3588kb | C++23 | 640b | 2024-11-07 19:08:08 | 2024-11-07 19:08:08 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define MAX 300015
#define INF 1e8
#define none -1145141919810
const int N=1e3+5;
typedef pair<int,int> P;
typedef long long ll;
const ll mod=998244353;
typedef unsigned long long ull;
typedef long double db;
typedef pair<ll,ll>Pll;
const db pi=acosl(-1.0);
mt19937_64 rnd(time(0));
void solve(){
char arr[4]={'L','R','U','D'};
for(int i=0;i<500000;i++) cout << arr[rnd()%4];
}
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t=1;
cout << fixed << setprecision(15);
//cin >> t;
while(t--)
solve();
}
// 11.61
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 4ms
memory: 3588kb
input:
4 4 1111 1001 1001 1110
output:
DULDUDUDLUDLURDDULLULRUDLULUURRDRLRDULRLLDDLURULUURDRURRLDDRDDRRDURRLUUDLULLRDLLRDULRLRULDRRRLDRLDLUDULDDRDRLRULDURULDUDRRRDUDDDUULUULRRRURLLUDUUURRDRLLDDDULDRUUDDULURRRULLDLRRUDRDRDULRRURRRRLRLLUURURLDLLLUUULLDURRLULLLDLULDDULLDDRRLDDDRUUUDLDDULRDUUDDLRUDDRLRUUUDLLRULUUDLRRLLUDDULRDUULDDDRRLRDLUDRD...
result:
wrong answer Line [name=ans] equals to "DULDUDUDLUDLURDDULLULRUDLULUUR...LDULULDDDURRRRLDULRRRDURDDDLRDD", doesn't correspond to pattern "[UDLR]{1,50000}"