結果
| 問題 | No.1229 ラグビーの得点パターン |
| コンテスト | |
| ユーザー |
ygd.
|
| 提出日時 | 2020-09-18 21:24:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 375 ms |
| コンパイル使用メモリ | 85,600 KB |
| 実行使用メモリ | 59,704 KB |
| 最終ジャッジ日時 | 2026-03-06 13:51:15 |
| 合計ジャッジ時間 | 2,140 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
N = int(input())
ans = 0
for c in range(55):
for t in range(c,50):
temp = c*2+t*5
if temp > N:
continue
if (N-temp)%3 == 0:
#print(temp,c,t)
ans += 1
print(ans)
ygd.