Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
∇ {res}←Trabb;f;S;i;a;y ⍝ define a function Trabb
|
||||
f←{(0.5*⍨|⍵)+5×⍵*3} ⍝ define a function f
|
||||
S←,⍎{⍞←⍵ ⋄ (≢⍵)↓⍞}'Please, enter 11 numbers: '
|
||||
:For i a :InEach (⌽⍳≢S)(⌽S) ⍝ loop through N..1 and reversed S
|
||||
:If 400<y←f(a)
|
||||
⎕←'Too large: ',⍕i
|
||||
:Else
|
||||
⎕←i,y
|
||||
:EndIf
|
||||
:EndFor
|
||||
∇
|
||||
Loading…
Add table
Add a link
Reference in a new issue