結果
| 問題 |
No.153 石の山
|
| コンテスト | |
| ユーザー |
mayoko_
|
| 提出日時 | 2015-02-15 23:49:31 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 467 bytes |
| コンパイル時間 | 628 ms |
| コンパイル使用メモリ | 72,384 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-14 13:25:56 |
| 合計ジャッジ時間 | 1,580 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 WA * 9 |
ソースコード
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <iostream>
#include <utility>
#include <set>
#include <cctype>
#include <queue>
#include <stack>
#include <cstdio>
#include <cstdlib>
#include <cmath>
using namespace std;
typedef long long ll;
int main(void) {
int N;
cin >> N;
if (N % 2 == 0 || N % 3 == 2) {
cout << "A" << endl;
} else {
cout << "B" << endl;
}
return 0;
}
mayoko_