結果
| 問題 |
No.333 門松列を数え上げ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-02 20:06:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 50 ms / 2,000 ms |
| コード長 | 225 bytes |
| コンパイル時間 | 362 ms |
| コンパイル使用メモリ | 81,860 KB |
| 実行使用メモリ | 55,296 KB |
| 最終ジャッジ日時 | 2024-07-16 15:49:35 |
| 合計ジャッジ時間 | 1,259 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
# input = sys.stdin.readline
A,B = map(int,input().split())
if A<B:
print(B-2)
else:
print(2000000000-B-1)