結果
| 問題 |
No.45 回転寿司
|
| ユーザー |
compass19
|
| 提出日時 | 2017-01-11 18:26:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 45 ms / 5,000 ms |
| コード長 | 129 bytes |
| コンパイル時間 | 440 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-12-27 15:45:00 |
| 合計ジャッジ時間 | 2,856 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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