結果

問題 No.1229 ラグビーの得点パターン
ユーザー pypypymipypypymi
提出日時 2021-12-30 10:41:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 48 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 82,240 KB
実行使用メモリ 61,360 KB
最終ジャッジ日時 2024-04-15 18:15:20
合計ジャッジ時間 2,491 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
59,488 KB
testcase_01 AC 48 ms
60,924 KB
testcase_02 AC 48 ms
59,016 KB
testcase_03 AC 47 ms
60,600 KB
testcase_04 AC 47 ms
59,796 KB
testcase_05 AC 45 ms
60,092 KB
testcase_06 AC 48 ms
60,800 KB
testcase_07 AC 46 ms
59,164 KB
testcase_08 AC 47 ms
59,120 KB
testcase_09 AC 47 ms
60,604 KB
testcase_10 AC 45 ms
59,780 KB
testcase_11 AC 46 ms
60,768 KB
testcase_12 AC 45 ms
59,248 KB
testcase_13 AC 46 ms
60,056 KB
testcase_14 AC 45 ms
59,376 KB
testcase_15 AC 46 ms
60,748 KB
testcase_16 AC 46 ms
61,360 KB
testcase_17 AC 46 ms
61,056 KB
testcase_18 AC 45 ms
59,764 KB
testcase_19 AC 46 ms
59,364 KB
testcase_20 AC 45 ms
59,484 KB
testcase_21 AC 46 ms
59,532 KB
testcase_22 AC 48 ms
60,708 KB
testcase_23 AC 47 ms
60,268 KB
testcase_24 AC 47 ms
59,560 KB
testcase_25 AC 47 ms
60,856 KB
testcase_26 AC 47 ms
59,700 KB
testcase_27 AC 46 ms
59,916 KB
testcase_28 AC 47 ms
60,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
count=0
for i1 in range(0,21):
    for i2 in range(0,51):
        for i3 in range(0,34):
            if i1*5+i2*2+i3*3==n and i1>=i2:
                count+=1
print(count)   
0