結果
| 問題 | No.632 穴埋め門松列 |
| コンテスト | |
| ユーザー |
双六
|
| 提出日時 | 2020-08-11 03:41:34 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 1,000 ms |
| コード長 | 494 bytes |
| 記録 | |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 60,160 KB |
| 最終ジャッジ日時 | 2026-04-25 14:11:05 |
| 合計ジャッジ時間 | 1,697 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()
双六