結果

問題 No.188 HAPPY DAY
ユーザー MrEMGrationMrEMGration
提出日時 2019-03-22 23:33:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 1,000 ms
コード長 214 bytes
コンパイル時間 701 ms
コンパイル使用メモリ 81,596 KB
実行使用メモリ 53,568 KB
最終ジャッジ日時 2023-10-19 10:52:40
合計ジャッジ時間 842 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,568 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