結果

問題 No.1229 ラグビーの得点パターン
ユーザー aqua_tenhouaqua_tenhou
提出日時 2020-09-18 21:26:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 1,289 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 76,432 KB
最終ジャッジ日時 2023-09-04 09:44:14
合計ジャッジ時間 4,937 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
76,336 KB
testcase_01 AC 83 ms
76,248 KB
testcase_02 AC 78 ms
76,184 KB
testcase_03 AC 83 ms
76,248 KB
testcase_04 AC 80 ms
76,180 KB
testcase_05 AC 80 ms
76,308 KB
testcase_06 AC 80 ms
76,384 KB
testcase_07 AC 84 ms
76,272 KB
testcase_08 AC 84 ms
76,272 KB
testcase_09 AC 81 ms
76,220 KB
testcase_10 AC 83 ms
76,220 KB
testcase_11 AC 82 ms
76,432 KB
testcase_12 AC 81 ms
76,008 KB
testcase_13 AC 82 ms
76,000 KB
testcase_14 AC 83 ms
76,396 KB
testcase_15 AC 83 ms
76,248 KB
testcase_16 AC 81 ms
76,188 KB
testcase_17 AC 81 ms
76,288 KB
testcase_18 AC 80 ms
76,248 KB
testcase_19 AC 75 ms
76,256 KB
testcase_20 AC 74 ms
76,248 KB
testcase_21 AC 75 ms
76,272 KB
testcase_22 AC 78 ms
76,296 KB
testcase_23 AC 74 ms
76,432 KB
testcase_24 AC 77 ms
76,176 KB
testcase_25 AC 80 ms
76,100 KB
testcase_26 AC 84 ms
76,244 KB
testcase_27 AC 81 ms
76,276 KB
testcase_28 AC 82 ms
76,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0
for i in range(101):
    for j in range(i+1):
        for k in range(101):
            if n == 5*i + 2*j + 3*k:
                ans += 1
print(ans)
0