Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Text-processing-1/J/text-processing-1-2.j
Normal file
11
Task/Text-processing-1/J/text-processing-1-2.j
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
formatDailySumry=: dyad define
|
||||
labels=. , ];.2 'Line: Accept: Line_tot: Line_avg: '
|
||||
labels , x ,. 7j0 10j3 10j3 ": y
|
||||
)
|
||||
formatFileSumry=: dyad define
|
||||
labels=. ];.2 'Total: Readings: Average: '
|
||||
sumryvals=. (, %/) 1 0{ +/y
|
||||
out=. labels ,. 12j3 12j0 12j3 ":&> sumryvals
|
||||
'maxrun dates'=. x
|
||||
out=. out,LF,'Maximum run(s) of ',(": maxrun),' consecutive false readings ends at line(s) starting with date(s): ',dates
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue