結果

問題 No.1229 ラグビーの得点パターン
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2020-09-18 21:21:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 2,109 ms
コンパイル使用メモリ 86,380 KB
実行使用メモリ 76,344 KB
最終ジャッジ日時 2023-09-04 09:14:45
合計ジャッジ時間 5,203 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
76,108 KB
testcase_01 AC 85 ms
76,068 KB
testcase_02 AC 86 ms
75,868 KB
testcase_03 AC 85 ms
76,124 KB
testcase_04 AC 83 ms
76,080 KB
testcase_05 AC 86 ms
76,056 KB
testcase_06 AC 86 ms
76,256 KB
testcase_07 AC 87 ms
76,196 KB
testcase_08 AC 86 ms
76,164 KB
testcase_09 AC 86 ms
76,068 KB
testcase_10 AC 88 ms
76,104 KB
testcase_11 AC 86 ms
76,160 KB
testcase_12 AC 84 ms
76,128 KB
testcase_13 AC 86 ms
76,108 KB
testcase_14 AC 85 ms
76,264 KB
testcase_15 AC 86 ms
76,344 KB
testcase_16 AC 86 ms
76,108 KB
testcase_17 AC 87 ms
76,092 KB
testcase_18 AC 88 ms
75,996 KB
testcase_19 AC 88 ms
76,076 KB
testcase_20 AC 89 ms
76,252 KB
testcase_21 AC 86 ms
76,072 KB
testcase_22 AC 88 ms
76,076 KB
testcase_23 AC 87 ms
76,164 KB
testcase_24 AC 84 ms
76,076 KB
testcase_25 AC 86 ms
76,108 KB
testcase_26 AC 87 ms
75,928 KB
testcase_27 AC 85 ms
75,956 KB
testcase_28 AC 85 ms
76,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = 0

for t in range(100):

    for g in range(t+1):

        for p in range(100):

            if t * 5 + g * 2 + p * 3 == N:
                ans += 1
print (ans)
0