# Golfy ARrays

## Submit

File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

## Problem

A golfy array is an array of positive integers, where each element is higher than or equal to the arithmetic mean of all the previous terms. Print 1 if the array is golfy and 0 otherwise.

## Sample input:_

`[1, 4, 3, 8, 6]`

`1`

## Sample input:_

`[6, 6, 6, 6, 6]`

`1`

## Sample input:_

`[45, 45, 46, 43]`

`0`

## Ranking

### Ruby_

RankUserSizeTimeDateStatistics
1mitchs60.02232017/10/15 03:25:380B / 4B / 1B
2Histocrat60.02372017/10/17 04:54:520B / 2B / 4B
3rotary-o60.04792021/01/03 16:06:180B / 2B / 4B
4Sisyphus60.04922022/03/03 08:07:130B / 4B / 1B

### Ruby2_

RankUserSizeTimeDateStatistics
1Histocrat60.14382017/10/18 04:36:350B / 2B / 4B
2mitchs60.14622017/10/18 07:41:410B / 2B / 4B
3rotary-o60.16552021/01/03 16:04:540B / 2B / 4B
4letranger120.14612017/10/23 18:31:150B / 9B / 3B

### Perl_

RankUserSizeTimeDateStatistics
1brx90.00042018/01/08 21:54:160B / 6B / 3B
2llhuii90.00042018/01/08 22:12:110B / 6B / 3B

### Python_

RankUserSizeTimeDateStatistics
1rolf130.07092017/10/15 00:03:400B / 9B / 3B
2mitchs130.06972017/10/15 06:38:450B / 9B / 3B
3llhuii130.06962018/01/08 22:18:050B / 9B / 3B
4hallvabo130.07112018/11/12 22:37:280B / 9B / 3B
5McBusLuck130.08952020/11/23 01:21:410B / 9B / 3B
6Erik the Outgolfer130.08092021/02/03 06:41:300B / 9B / 3B
7test200.07432017/11/03 04:48:050B / 13B / 5B
8Someone210.11092017/10/15 20:09:260B / 12B / 9B

### Python3_

RankUserSizeTimeDateStatistics
1mitchs150.11552017/10/15 06:40:300B / 8B / 7B
2llhuii150.11872018/01/08 22:24:050B / 8B / 7B
3McBusLuck150.13422020/11/23 01:23:040B / 8B / 7B
4mypetlion150.13612021/10/30 06:14:140B / 10B / 5B
5fill210.11842017/11/10 15:42:220B / 14B / 7B
6rolf250.11802017/10/14 23:55:140B / 12B / 13B

### JavaScript_

RankUserSizeTimeDateStatistics
1ETHproductions170.03912017/10/18 03:37:310B / 13B / 3B
2FizzyTea170.06652017/11/08 02:11:020B / 13B / 3B
3ZED.CWT230.03622018/06/08 14:53:310B / 15B / 8B

### Tcl_

RankUserSizeTimeDateStatistics
1toomas280.03942019/01/23 00:11:040B / 19B / 5B

### Xtal_

RankUserSizeTimeDateStatistics
1pooq290.04042017/11/26 22:12:190B / ?B / ?B

### Crystal_

RankUserSizeTimeDateStatistics
1pooq80.04552021/04/09 06:19:040B / ?B / ?B

### PARI/GP_

RankUserSizeTimeDateStatistics
1mitchs150.07132017/10/15 06:20:490B / 11B / 4B
2pooq150.05162021/04/14 23:36:060B / ?B / ?B

### Forth_

RankUserSizeTimeDateStatistics
1pooq190.05502021/05/06 08:58:040B / ?B / ?B

### BASIC_

RankUserSizeTimeDateStatistics
1pooq163.00452017/11/25 21:29:290B / ?B / ?B

### J_

RankUserSizeTimeDateStatistics
1pooq120.05502017/11/26 17:21:570B / ?B / ?B

### K_

RankUserSizeTimeDateStatistics
1pooq70.04312021/04/10 02:30:190B / ?B / ?B

### Jelly_

RankUserSizeTimeDateStatistics
1Erik the Outgolfer30.43682021/05/18 09:43:062B / 1B / 0B
2pooq40.44762021/04/09 05:49:450B / ?B / ?B

### C_

RankUserSizeTimeDateStatistics
1llhuii270.00042018/01/08 22:22:240B / 15B / 12B

RankUserSizeTimeDateStatistics
1cojna300.03642018/05/29 15:26:070B / 23B / 6B
2henkma300.03652018/05/29 18:23:070B / ?B / ?B
3lynn300.04902021/10/12 00:57:340B / 23B / 6B
4dianne310.03592018/05/28 14:25:510B / 20B / 10B
5yuki430.03672018/01/30 11:59:240B / ?B / ?B

### Asymptote_

RankUserSizeTimeDateStatistics
1pooq190.23272021/04/09 21:43:070B / ?B / ?B

### AWK_

RankUserSizeTimeDateStatistics
1mitchs80.03112017/10/15 16:50:500B / 3B / 4B
2teebee80.03232017/10/16 06:52:440B / 2B / 6B
3Hendrik80.03112017/10/29 06:14:530B / 3B / 5B
4llhuii80.03242018/01/08 22:20:330B / 5B / 3B
5uu80.03102018/02/23 08:50:270B / 2B / 6B
6McBusLuck80.04112020/11/20 09:19:450B / 5B / 3B
7Fleur80.04262021/10/11 09:25:460B / 2B / 5B

### sed_

RankUserSizeTimeDateStatistics
10mg80.03122019/10/25 22:25:260B / 5B / 2B
2McBusLuck80.04212020/11/18 03:31:500B / 5B / 2B

### jq_

RankUserSizeTimeDateStatistics
1pooq80.04122017/11/30 02:53:010B / ?B / ?B
2eban80.04212022/03/03 08:19:000B / 7B / 1B

### Bash_

RankUserSizeTimeDateStatistics
1McBusLuck100.01692022/03/03 07:41:510B / 6B / 2B

### Bash (builtins)_

RankUserSizeTimeDateStatistics
1McBusLuck100.01682022/03/03 07:41:440B / 6B / 2B
2llhuii140.00042018/01/09 15:08:410B / 6B / 7B

### Zsh_

RankUserSizeTimeDateStatistics
1McBusLuck100.04142022/03/03 07:41:570B / 6B / 2B

### Fish_

RankUserSizeTimeDateStatistics
1McBusLuck100.07272022/03/03 07:42:030B / 6B / 2B

### bc_

RankUserSizeTimeDateStatistics
1McBusLuck160.04242020/08/11 03:12:040B / 9B / 6B

### xgawk_

RankUserSizeTimeDateStatistics
1mitchs80.03182017/11/05 12:04:120B / 3B / 4B
2llhuii80.03862018/01/08 22:20:380B / 5B / 3B
3McBusLuck80.04272020/11/20 09:19:550B / 5B / 3B

### R_

RankUserSizeTimeDateStatistics
1pooq180.29712017/11/25 22:10:000B / ?B / ?B
2olf180.31472019/08/31 20:02:460B / 12B / 6B

### Brainfuck_

RankUserSizeTimeDateStatistics
1mitchs (cheat)140.06292017/10/15 15:32:590B / 0B / 14B
2McBusLuck210.08062020/11/15 21:52:301B / 2B / 18B
3mitchs230.03132017/10/15 15:39:320B / 0B / 23B

### GolfScript_

RankUserSizeTimeDateStatistics
1mitchs30.05102017/10/15 04:00:500B / 1B / 2B
2McBusLuck30.05872020/12/01 04:23:430B / 1B / 2B

### gs2_

RankUserSizeTimeDateStatistics
1mitchs20.18992017/10/15 04:02:340B / 1B / 1B
2whio20.17692017/10/17 00:29:100B / 2B / 0B
3McBusLuck20.20622020/11/12 00:17:170B / 1B / 1B

### Nibbles_

RankUserSizeTimeDateStatistics
1tails20.05082022/03/03 09:40:211B / 1B / 0B

### Burlesque_

RankUserSizeTimeDateStatistics
1Hendrik50.03302017/10/15 01:04:470B / 3B / 2B

### Lazy-K_

RankUserSizeTimeDateStatistics
1tails770.04272021/05/19 10:22:060B / 46B / 31B

### Universal Lambda_

RankUserSizeTimeDateStatistics
1lynn170.04302021/01/11 12:33:5315B / 2B / 0B

### z80_

RankUserSizeTimeDateStatistics
1McBusLuck110.04262021/04/10 18:37:017B / 3B / 1B

### Scala_

RankUserSizeTimeDateStatistics
1rotary-o225.31082017/10/15 14:15:300B / 18B / 4B
2Hendrik224.17402017/11/25 12:38:070B / 15B / 7B
3teebee225.39292018/01/25 07:58:090B / 18B / 4B
4clock224.19612019/11/19 19:45:160B / 14B / 8B

### Language Ranking_

RankLangUserSizeScore
1gs2mitchs210000
2Nibblestails210000
3GolfScriptmitchs36666
4JellyErik the Outgolfer36666
5BurlesqueHendrik54000
6Rubymitchs63333
7Ruby2Histocrat63333
8Kpooq72857
9AWKmitchs82500
10xgawkmitchs82500
11jqpooq82500
12sed0mg82500
13Crystalpooq82500
14Perlbrx92222
15Bash (builtins)McBusLuck102000
16BashMcBusLuck102000
17ZshMcBusLuck102000
18FishMcBusLuck102000
19z80McBusLuck111818
20Jpooq121666
21Pythonrolf131538
22Brainfuckmitchs (cheat)141428
23PARI/GPmitchs151333
24Python3mitchs151333
25BASICpooq161250
26bcMcBusLuck161250
27JavaScriptETHproductions171176
28Universal Lambdalynn171176
29Rpooq181111
30Asymptotepooq191052
31Forthpooq191052
32Scalarotary-o22909
33Cllhuii27740
34Tcltoomas28714
35Xtalpooq29689