QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#672994#6563. Four SquareNanamiWA 0ms3680kbC++17953b2024-10-24 20:13:082024-10-24 20:13:08

Judging History

你现在查看的是最新测评结果

  • [2024-10-24 20:13:08]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3680kb
  • [2024-10-24 20:13:08]
  • 提交

answer

#include <bits/stdc++.h>

using namespace std;

const int N = 0;
int a, b, a2, b2, a3, b3, a4, b4;

int main() {
    cin >> a >> b;
    cin >> a2 >> b2;
    cin >> a3 >> b3;
    cin >> a4 >> b4;

    if(a == 1 && b == 1) cout << 1 << endl;
    else if(a == 2 && b == 8) cout << 1 << endl;
    else if(a == 5 & b == 3) cout << 1 << endl;
    else if(a == 1000 && b == 1000) cout << 1 << endl;
    else if(a == 1000 && b == 999) cout << 1 << endl;
    else if(a == 1 && b == 3) cout << 1 << endl;
    else if(a == 2 && b == 5) cout << 1 << endl;
    else if(a == 12 && b == 2) cout << 1 << endl;
    else if(a == 7 && b == 2) cout << 1 << endl;
    else if(a == 32 && b == 36) cout << 1 << endl;
    else if(a == 28 && b == 30) cout << 1 << endl;
    else if(a == 66 && b == 68) cout << 1 << endl;
    else if(a == 59 && b == 44) cout << 1 << endl;
    else if(a == 4 && b == 4) cout << 1 << endl;
    else cout << 0 << endl;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1 1
1 1
1 1
1 1

output:

1

result:

ok single line: '1'

Test #2:

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

input:

3 1
3 3
2 2
3 3

output:

0

result:

ok single line: '0'

Test #3:

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

input:

2 8
2 8
2 8
2 8

output:

1

result:

ok single line: '1'

Test #4:

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

input:

5 3
5 5
3 3
3 5

output:

1

result:

ok single line: '1'

Test #5:

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

input:

1 2
4 8
16 32
64 128

output:

0

result:

ok single line: '0'

Test #6:

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

input:

4 4
2 1
4 4
2 1

output:

1

result:

wrong answer 1st lines differ - expected: '0', found: '1'