結果
| 問題 | No.2239 Friday |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2023-03-10 22:41:41 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 189 bytes |
| 記録 | |
| コンパイル時間 | 231 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-04-06 13:52:05 |
| 合計ジャッジ時間 | 1,368 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 WA * 1 |
ソースコード
A,B = map(int, input().split())
A,B = max(A,B),min(A,B)
same = A-B
not_same = A+B-same
for i in range(B):
if same<not_same:
same+=1
not_same-=1
print(abs(same-not_same))
H20