結果
問題 |
No.1229 ラグビーの得点パターン
|
ユーザー |
|
提出日時 | 2020-12-30 09:30:19 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 141 bytes |
コンパイル時間 | 168 ms |
コンパイル使用メモリ | 82,728 KB |
実行使用メモリ | 53,716 KB |
最終ジャッジ日時 | 2024-10-06 19:23:37 |
合計ジャッジ時間 | 2,392 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 2 WA * 23 |
ソースコード
N = int(input()) cnt = 0 for i in range(N//5+1): for j in range((N-i)//3+1): if (N-5*i-3*j)%2==0: cnt += 1 print(cnt)