結果
| 問題 | No.188 HAPPY DAY |
| コンテスト | |
| ユーザー |
aki1026
|
| 提出日時 | 2020-05-12 22:49:26 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 1,000 ms |
| コード長 | 429 bytes |
| 記録 | |
| コンパイル時間 | 585 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-04-04 09:20:04 |
| 合計ジャッジ時間 | 1,294 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#2月28
#30日まで 4,6,9,11月
import math
cnt=0
for i in range(1,13):
for j in range(1,32):
if i==2 and j==29:
break
if i==4 and j==30:
break
if i==6 and j==30:
break
if i==9 and j==30:
break
if i==11 and j==30:
break
manth=math.floor(j/10)
day=j%10
if i == manth+day:
cnt+=1
print(cnt)
aki1026