結果
| 問題 | No.1229 ラグビーの得点パターン |
| コンテスト | |
| ユーザー |
ygd.
|
| 提出日時 | 2020-09-18 21:24:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 2,000 ms |
| + 641µs | |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 1,522 ms |
| コンパイル使用メモリ | 95,588 KB |
| 実行使用メモリ | 83,072 KB |
| 最終ジャッジ日時 | 2026-07-26 23:30:33 |
| 合計ジャッジ時間 | 3,869 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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.