結果

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

テストケース

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

ソースコード

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