QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#640493 | #6254. Breaking Branches | dohoon# | AC ✓ | 0ms | 3708kb | C++17 | 241b | 2024-10-14 13:36:53 | 2024-10-14 13:36:53 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main() {
cin.tie(0)->sync_with_stdio(0);
ll n; cin >> n;
if (n%2==0) {
cout << "Alice\n1";
}else {
cout << "Bob";
}
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3656kb
input:
4444
output:
Alice 1
result:
ok correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
2
output:
Alice 1
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
3
output:
Bob
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
5
output:
Bob
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
10
output:
Alice 1
result:
ok correct
Test #6:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
15
output:
Bob
result:
ok correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1235123
output:
Bob
result:
ok correct
Test #8:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
1000000000
output:
Alice 1
result:
ok correct
Test #9:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
999999999
output:
Bob
result:
ok correct
Test #10:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
239023592
output:
Alice 1
result:
ok correct
Test #11:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
239532453
output:
Bob
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
1111112
output:
Alice 1
result:
ok correct
Test #13:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1222222
output:
Alice 1
result:
ok correct
Test #14:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
999999761
output:
Bob
result:
ok correct
Test #15:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
993762527
output:
Bob
result:
ok correct
Test #16:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
865523177
output:
Bob
result:
ok correct
Test #17:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
999999964
output:
Alice 1
result:
ok correct
Test #18:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
4
output:
Alice 1
result:
ok correct
Test #19:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
988888
output:
Alice 1
result:
ok correct
Test #20:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
99999888
output:
Alice 1
result:
ok correct
Test #21:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
999993829
output:
Bob
result:
ok correct
Test #22:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
8329
output:
Bob
result:
ok correct