QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#239647 | #8981. Kangaroo Puzzle | Bbaka_ | WA | 1ms | 3720kb | C++20 | 618b | 2023-11-04 22:10:04 | 2023-11-04 22:10:04 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
void solve(void)
{
int n,m;
cin>>n>>m;
string s;
for(int i=1;i<=n;i++)
{
cin>>s;
}
s="";
int rev=0;
for(int i=0;i<50000;i+=40)
{
for(int j=0;j<=20;j++)
{
if(rev)
s+="RD";
else
s+="LD";
}
rev^=1;
}
cout<<s<<endl;
}
int main(void)
{
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int t=1;
while(t--)
{
solve();
}
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3720kb
input:
4 4 1111 1001 1001 1110
output:
LDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDRDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDLDRDRDRD...
result:
wrong answer WA