結果
| 問題 |
No.632 穴埋め門松列
|
| コンテスト | |
| ユーザー |
双六
|
| 提出日時 | 2020-08-11 03:41:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 51 ms / 1,000 ms |
| コード長 | 494 bytes |
| コンパイル時間 | 804 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 60,416 KB |
| 最終ジャッジ日時 | 2024-10-09 11:03:14 |
| 合計ジャッジ時間 | 1,106 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
# import sys; input = sys.stdin.buffer.readline
# sys.setrecursionlimit(10**7)
from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")
import copy
def getlist():
return list(map(int, input().split()))
#処理内容
def main():
a, b, c = input().split()
if a == "?":
if b == "2":
print(4)
else:
print(1)
elif a == "2":
if b == "?":
print(14)
else:
print(1)
else:
if b == "?":
print(14)
else:
print(4)
if __name__ == '__main__':
main()
双六