結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2017-06-16 13:57:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 347 bytes |
コンパイル時間 | 187 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-12-31 01:42:57 |
合計ジャッジ時間 | 600 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
import calendar, mathcnt = 0for i in range(1, 13):monthdays = calendar.monthrange(2015, i)dd1 = (monthdays[1])for n in range(1, dd1+1):if( n < 10):day10 = 0day1 = nelse:day10 = math.floor( n/10 )day1 = n - day10*10if( i == day10 + day1):cnt = cnt+1print(cnt)