QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#640507 | #6254. Breaking Branches | BaBamBa# | AC ✓ | 0ms | 3740kb | C++17 | 280b | 2024-10-14 13:48:37 | 2024-10-14 13:48:38 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
ll N;
cin >> N;
if(N%2==1)
cout << "Bob";
else
cout << "Alice\n1";
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3672kb
input:
4444
output:
Alice 1
result:
ok correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
2
output:
Alice 1
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
3
output:
Bob
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
5
output:
Bob
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3640kb
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: 3604kb
input:
1235123
output:
Bob
result:
ok correct
Test #8:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
1000000000
output:
Alice 1
result:
ok correct
Test #9:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
999999999
output:
Bob
result:
ok correct
Test #10:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
239023592
output:
Alice 1
result:
ok correct
Test #11:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
239532453
output:
Bob
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
1111112
output:
Alice 1
result:
ok correct
Test #13:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
1222222
output:
Alice 1
result:
ok correct
Test #14:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
999999761
output:
Bob
result:
ok correct
Test #15:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
993762527
output:
Bob
result:
ok correct
Test #16:
score: 0
Accepted
time: 0ms
memory: 3740kb
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: 3612kb
input:
4
output:
Alice 1
result:
ok correct
Test #19:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
988888
output:
Alice 1
result:
ok correct
Test #20:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
99999888
output:
Alice 1
result:
ok correct
Test #21:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
999993829
output:
Bob
result:
ok correct
Test #22:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
8329
output:
Bob
result:
ok correct