結果
| 問題 | No.188 HAPPY DAY |
| コンテスト | |
| ユーザー |
kotatsu
|
| 提出日時 | 2023-08-11 21:44:44 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 673 bytes |
| 記録 | |
| コンパイル時間 | 417 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-18 15:46:17 |
| 合計ジャッジ時間 | 585 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
day1 = list(range(1, 32))
day2 = list(range(1, 31))
day3 = list(range(1, 29))
l = 0
for i in range(1, 13):
if(i == 1 and 3 and 5 and 7 and 8 and 10 and 12) :
for s in day1:
s = f"{s:02}"
A = int(s)//10
B = int(s)%10
if A+B == i:
l = l+1
elif(i == 4 and 6 and 9 and 11):
for s in day2:
s = f"{s:02}"
A = int(s)//10
B = int(s)%10
if A+B == i:
l = l+1
else:
for s in day3:
s = f"{s:02}"
A = int(s)//10
B = int(s)%10
if A+B == i:
l = l+1
print(l)
kotatsu