結果
問題 |
No.2760 not fair position game
|
ユーザー |
|
提出日時 | 2024-05-17 22:54:21 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 888 bytes |
コンパイル時間 | 2,895 ms |
コンパイル使用メモリ | 244,288 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-20 14:55:06 |
合計ジャッジ時間 | 3,604 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; #ifdef DEBUG_ #include <compe/debug.hpp> #else #define dump(...) #endif // clang-format off struct Fast{Fast(){std::cin.tie(0);ios::sync_with_stdio(false);}} fast; #define rep(i,n) for (int i=0;i<(int)n;++i) #define die(msg) do{cout<<(msg)<<'\n',exit(0);}while(0) #define el '\n' #define all(k) k.begin(), k.end() #define rall(k) k.rbegin(), k.rend() #define INFi 1 << 30 #define INFll 1LL << 60 #define MOD17 10'0000'0007 #define MOD98 9'9824'4353 template <typename T> inline bool chmax(T& a, const T& b) { return ((a < b) ? (a = b, true) : false); } template <typename T> inline bool chmin(T& a, const T& b) { return ((a > b) ? (a = b, true) : false); } using ll = long long int; // clang-format on int main() { int n, k; cin >> n >> k; if (n % 2 == 0) cout << "Bob" << el; else cout << "Alice" << el; }