結果

問題 No.188 HAPPY DAY
ユーザー numberfromnumberfrom
提出日時 2020-06-07 21:37:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 7,852 KB
最終ジャッジ日時 2023-08-25 13:33:24
合計ジャッジ時間 502 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

ans = 0

for i in range(1, 13):
    for j in range(1, 32):
        if len(str(j)) == 1:
            if j == i:
                ans += 1

        else:
            if int(str(j)[0]) + int(str(j)[1]) == i:
                ans += 1

print(ans)
0