結果

問題 No.188 HAPPY DAY
ユーザー MrEMGrationMrEMGration
提出日時 2019-03-22 23:37:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 214 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 11,820 KB
実行使用メモリ 9,980 KB
最終ジャッジ日時 2023-10-19 10:54:33
合計ジャッジ時間 615 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
9,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
cnt=0
days=[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
for m in range(1,13):
    for d in range(1,days[m-1]):
        if m == math.floor(d/10)+(d-math.floor(d/10)*10):
            cnt+=1
print(cnt)
0