結果
問題 | No.91 赤、緑、青の石 |
ユーザー |
![]() |
提出日時 | 2022-11-10 09:06:26 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 658 ms / 5,000 ms |
コード長 | 207 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 82,040 KB |
実行使用メモリ | 76,036 KB |
最終ジャッジ日時 | 2024-07-23 12:10:09 |
合計ジャッジ時間 | 8,851 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 28 |
ソースコード
import sys,mathinput=lambda:sys.stdin.readline().rstrip()def check(i,A):cur=0for j in A:cur+=(j-i)//(1+(j>i))return cur<0A=list(map(int,input().split()))i=max(A)while check(i,A):i-=1print(i)