QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#561782#8674. Riddle of the SphinxStarrykillerWA 1ms3688kbC++23307b2024-09-13 10:22:572024-09-13 10:22:58

Judging History

This is the latest submission verdict.

  • [2024-09-13 10:22:58]
  • Judged
  • Verdict: WA
  • Time: 1ms
  • Memory: 3688kb
  • [2024-09-13 10:22:57]
  • Submitted

answer

#include <bits/stdc++.h>

using namespace std;

signed main() {
    int a, b, c;
    cout<<"1 0 0"<<endl;
    cin>>a;
    
    cout<<"0 1 0"<<endl;
    cin>>b;
    
    cout<<"0 0 1"<<endl;
    cin>>c;

    cout<<"1 1 1"<<endl;
    cout<<"0 0 0"<<endl;
    cout<<a<<" "<<b<<" "<<c<<'\n';
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3544kb

input:

1
2
3
6
0

output:

1 0 0
0 1 0
0 0 1
1 1 1
0 0 0
1 2 3

result:

ok correct!

Test #2:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

9998
1
1
10000
0

output:

1 0 0
0 1 0
0 0 1
1 1 1
0 0 0
9998 1 1

result:

ok correct!

Test #3:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

3333
3333
3333
9999
0

output:

1 0 0
0 1 0
0 0 1
1 1 1
0 0 0
3333 3333 3333

result:

ok correct!

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3688kb

input:

892
503
712
2108
0

output:

1 0 0
0 1 0
0 0 1
1 1 1
0 0 0
892 503 712

result:

wrong answer read