QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#672994 | #6563. Four Square | Nanami | WA | 0ms | 3680kb | C++17 | 953b | 2024-10-24 20:13:08 | 2024-10-24 20:13:08 |
Judging History
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;
}
详细
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'