Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
procedure main(A)
|
||||
maxCount := count := 0
|
||||
|
||||
every !&input ? case tab(upto('@')) of {
|
||||
"License OUT ": {
|
||||
maxTime := (maxCount <:= (count +:= 1), [])
|
||||
put(maxTime, (maxCount = count, ="@ ", tab(find(" for "))))
|
||||
}
|
||||
"License IN ": count -:= (count > 0, 1) # Error check
|
||||
}
|
||||
|
||||
write("There were ",maxCount," licenses out at:")
|
||||
every write("\t",!maxTime)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue