結果

問題 No.1229 ラグビーの得点パターン
ユーザー tktk_snsntktk_snsn
提出日時 2020-12-13 00:03:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 194 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 11,824 KB
実行使用メモリ 28,664 KB
最終ジャッジ日時 2023-10-20 02:49:12
合計ジャッジ時間 6,816 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 189 ms
28,664 KB
testcase_01 AC 187 ms
28,664 KB
testcase_02 AC 193 ms
28,664 KB
testcase_03 AC 186 ms
28,664 KB
testcase_04 AC 187 ms
28,664 KB
testcase_05 AC 184 ms
28,664 KB
testcase_06 AC 184 ms
28,664 KB
testcase_07 AC 185 ms
28,664 KB
testcase_08 AC 184 ms
28,664 KB
testcase_09 AC 194 ms
28,664 KB
testcase_10 AC 183 ms
28,664 KB
testcase_11 AC 192 ms
28,664 KB
testcase_12 AC 190 ms
28,664 KB
testcase_13 AC 185 ms
28,664 KB
testcase_14 AC 186 ms
28,664 KB
testcase_15 AC 187 ms
28,664 KB
testcase_16 AC 183 ms
28,664 KB
testcase_17 AC 185 ms
28,664 KB
testcase_18 AC 187 ms
28,664 KB
testcase_19 AC 191 ms
28,664 KB
testcase_20 AC 185 ms
28,664 KB
testcase_21 AC 185 ms
28,664 KB
testcase_22 AC 189 ms
28,664 KB
testcase_23 AC 182 ms
28,664 KB
testcase_24 AC 186 ms
28,664 KB
testcase_25 AC 187 ms
28,664 KB
testcase_26 AC 187 ms
28,664 KB
testcase_27 AC 184 ms
28,664 KB
testcase_28 AC 185 ms
28,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

cnt = []
for i in range(100):
    for j in range(i + 1):
        for k in range(100):
            P = i * 5 + j * 2 + k * 3
            cnt.append(P)

n = int(input())
print(cnt.count(n))
0