結果
| 問題 | No.45 回転寿司 |
| ユーザー |
compass19
|
| 提出日時 | 2017-01-11 18:26:13 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 5,000 ms |
| + 96µs | |
| コード長 | 129 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2026-10-08 16:06:55 |
| 合計ジャッジ時間 | 2,827 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 30 |
ソースコード
n = int(input()) v = list(map(int, input().split())) p, q = 0, 0 for sushi in v: p, q = sushi + q, max(p, q) print(max(p, q))
compass19