結果
| 問題 |
No.841 8/32
|
| コンテスト | |
| ユーザー |
kuuso1
|
| 提出日時 | 2019-06-28 21:32:09 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 2,000 ms |
| コード長 | 579 bytes |
| コンパイル時間 | 133 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-02 04:24:55 |
| 合計ジャッジ時間 | 1,710 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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