結果
問題 | No.91 赤、緑、青の石 |
ユーザー |
![]() |
提出日時 | 2022-11-10 09:04:22 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 527 ms |
コンパイル使用メモリ | 82,340 KB |
実行使用メモリ | 75,604 KB |
最終ジャッジ日時 | 2024-07-23 12:07:43 |
合計ジャッジ時間 | 5,423 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 24 WA * 4 |
ソースコード
import sys,math input=lambda:sys.stdin.readline().rstrip() A=list(map(int,input().split())) for i in range(max(A),-1,-1): cur=0 for j in A: cur+=(j-i)*(1+(j<i)) if cur>=0: print(i) sys.exit()