結果
| 問題 |
No.2521 Don't be Same
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-10-27 21:33:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 504 bytes |
| コンパイル時間 | 356 ms |
| コンパイル使用メモリ | 82,520 KB |
| 実行使用メモリ | 83,820 KB |
| 平均クエリ数 | 2.21 |
| 最終ジャッジ日時 | 2024-09-25 13:37:15 |
| 合計ジャッジ時間 | 5,280 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 11 WA * 5 RE * 11 |
ソースコード
X,Y=map(int,input().split())
if abs(X-Y)==1:
print("Second",flush=True)
_,X,Y=input().split()
X=int(X)
Y=int(Y)
else:
print("First",flush=True)
while True:
if X==Y:
print("B",flush=True)
break
if X==0:
print("A",2,Y,flush=True)
break
if Y==0:
print("A",1,X,flush=True)
break
if X<Y:
print("A",2,Y-X-1,flush=True)
else:
print("A",1,X-Y-1,flush=True)
_,X,Y=input().split()
X=int(X)
Y=int(X)