QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#447565 | #8674. Riddle of the Sphinx | Graphcity | WA | 1ms | 3724kb | C++20 | 419b | 2024-06-18 16:33:07 | 2024-06-18 16:33:08 |
Judging History
answer
#include<bits/stdc++.h>
#define For(i,a,b) for(int i=(a);i<=(b);++i)
#define Rof(i,a,b) for(int i=(a);i>=(b);--i)
using namespace std;
const int Maxn=2e5;
int main()
{
int a,b,c,d,e;
cout<<"1 0 0"<<endl; cin>>a;
cout<<"0 1 0"<<endl; cin>>b;
cout<<"0 0 1"<<endl; cin>>c;
cout<<"0 0 0"<<endl; cin>>d;
cout<<"0 0 0"<<endl; cin>>e;
cout<<a<<' '<<b<<' '<<c<<endl;
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3660kb
input:
1 2 3 0 0
output:
1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 2 3
result:
ok correct!
Test #2:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
9998 1 1 0 0
output:
1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 9998 1 1
result:
ok correct!
Test #3:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
3333 3333 3333 0 0
output:
1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 3333 3333 3333
result:
ok correct!
Test #4:
score: -100
Wrong Answer
time: 0ms
memory: 3592kb
input:
892 503 712 0 0
output:
1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 892 503 712
result:
wrong answer read