結果

問題 No.1229 ラグビーの得点パターン
ユーザー 👑 KazunKazun
提出日時 2020-09-19 00:50:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 86,988 KB
実行使用メモリ 76,676 KB
最終ジャッジ日時 2023-09-04 15:47:49
合計ジャッジ時間 4,266 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
76,156 KB
testcase_01 AC 85 ms
76,436 KB
testcase_02 AC 86 ms
76,672 KB
testcase_03 AC 86 ms
76,668 KB
testcase_04 AC 85 ms
76,484 KB
testcase_05 AC 84 ms
76,652 KB
testcase_06 AC 86 ms
76,128 KB
testcase_07 AC 84 ms
76,500 KB
testcase_08 AC 85 ms
76,676 KB
testcase_09 AC 84 ms
76,428 KB
testcase_10 AC 85 ms
76,300 KB
testcase_11 AC 86 ms
76,648 KB
testcase_12 AC 85 ms
76,528 KB
testcase_13 AC 85 ms
76,264 KB
testcase_14 AC 84 ms
76,292 KB
testcase_15 AC 85 ms
76,408 KB
testcase_16 AC 84 ms
76,448 KB
testcase_17 AC 84 ms
76,292 KB
testcase_18 AC 85 ms
76,664 KB
testcase_19 AC 85 ms
76,520 KB
testcase_20 AC 84 ms
76,180 KB
testcase_21 AC 86 ms
76,552 KB
testcase_22 AC 85 ms
76,448 KB
testcase_23 AC 85 ms
76,428 KB
testcase_24 AC 86 ms
76,276 KB
testcase_25 AC 86 ms
76,176 KB
testcase_26 AC 85 ms
76,188 KB
testcase_27 AC 85 ms
76,428 KB
testcase_28 AC 85 ms
76,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())

K=0
for x in range(101):
    for y in range(101):
        for z in range(101):
            K+=(5*x+2*y+3*z==N) and (x>=y)
print(K)
0