結果
| 問題 |
No.1229 ラグビーの得点パターン
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-30 10:41:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 46 ms / 2,000 ms |
| コード長 | 191 bytes |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 82,144 KB |
| 実行使用メモリ | 60,656 KB |
| 最終ジャッジ日時 | 2024-10-05 19:58:42 |
| 合計ジャッジ時間 | 2,253 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
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)