結果
| 問題 | No.841 8/32 |
| コンテスト | |
| ユーザー |
kuuso1
|
| 提出日時 | 2019-06-28 21:32:09 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 110 ms / 2,000 ms |
| コード長 | 579 bytes |
| 記録 | |
| コンパイル時間 | 449 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-03-23 08:07:40 |
| 合計ジャッジ時間 | 3,740 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
from sys import stdin
## input functions for me
def ria(sep = ''):
if sep == '' :
return list(map(int, input().split()))
else: return list(map(int, input().split(sep)))
def rsa(sep = ''):
if sep == '' :
return input().split()
else: return input().split(sep)
def ri(): return int(input())
def rd(): return float(input())
def rs(): return input()
##
## main ##
ss = rsa()
inc1 = 1 if (ss[0] == "Sun" or ss[0] == "Sat") else 0
inc2 = 1 if (inc1 == 1 and (ss[1] == "Sun" or ss[1] == "Sat")) else 0
res = "8/" + str(31 + inc1 + inc2)
print(res)
kuuso1