結果
| 問題 |
No.841 8/32
|
| コンテスト | |
| ユーザー |
maspy
|
| 提出日時 | 2020-01-08 22:22:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 324 bytes |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-11-23 03:10:32 |
| 合計ジャッジ時間 | 1,640 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
x,y = read().split()
is_weekend = [t in [b'Sun',b'Sat'] for t in [x,y]]
x = 31
if all((is_weekend[0], not is_weekend[1])):
x = 32
if all(is_weekend):
x = 33
answer = '8/{}'.format(x)
print(answer)
maspy