Submission

Status:

--------------------

Subtask/Task Score:

0/100

Score: 0

User: qweqwe

Problemset: Bakushin's Genius Game

Language: cpp

Time: 0.009 second

Submitted On: 2025-10-21 10:52:00

#include <bits/stdc++.h>
#define speed cin.tie(0)->sync_with_stdio(0)
#define ll long long
#define pii pair<int,int>
using namespace std;

// top 5 problem oat lmao
int main(){
	speed;
	int t;cin >> t;
	bool turns=1; // bakushin,agnes = 0,1
	for (int i=0;i<t;i++){
		int n;cin >> n;
		if (n==0) cout << "B" << "\n";
		else cout << "A" << "\n";
	}
	return 0;
}