結果
| 問題 |
No.632 穴埋め門松列
|
| コンテスト | |
| ユーザー |
maspy
|
| 提出日時 | 2020-01-09 23:52:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 1,000 ms |
| コード長 | 384 bytes |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-11-23 05:05:42 |
| 合計ジャッジ時間 | 896 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
C = read().split()
def test(x):
A = C[:]
for i in range(3):
if A[i] == b'?':
A[i] = x
else:
A[i] = int(A[i])
a,b,c = A
return (a>b<c) or (a<b>c)
answer = ''.join(str(x) for x in [1,4] if test(x))
print(answer)
maspy