QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#640493#6254. Breaking Branchesdohoon#AC ✓0ms3708kbC++17241b2024-10-14 13:36:532024-10-14 13:36:53

Judging History

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

  • [2024-10-14 13:36:53]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3708kb
  • [2024-10-14 13:36:53]
  • 提交

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";
    }
}

Details

Tip: Click on the bar to expand more detailed information

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