I hereby claim:
- I am tyrion on github.
- I am tyrion (https://keybase.io/tyrion) on keybase.
- I have a public key whose fingerprint is 21CE 5B94 9D79 BC2D 25D4 8091 87EB 178A 3C06 A67F
To claim this, I am signing this object:
| declare function local:maxconsecutive($partite as element()*, $squadra as xs:string, $i as xs:integer, $max as xs:integer, $tot as xs:integer) as xs:integer { | |
| (if ($i = count($partite)+1) then ( local:max($max, $tot)) | |
| else ( | |
| if (local:vinta($partite[$i], $squadra)) | |
| then (local:maxconsecutive($partite, $squadra, $i+1, $max+1, $tot)) | |
| else (local:maxconsecutive($partite, $squadra, $i+1, 0, local:max($max, $tot))) | |
| )) | |
| }; | |
| declare function local:max($a as xs:integer, $b as xs:integer) as xs:integer { |
| #!/usr/bin/env python | |
| import sys | |
| import socket | |
| import resource | |
| resource.setrlimit(resource.RLIMIT_NPROC, (0, 0)) | |
| def get_key(): | |
| s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) | |
| s.connect("/tmp/keyserver") |
| #!/usr/bin/env python3 | |
| """ | |
| a a | |
| end <---(in)--->[1]<--->[2]--> end | |
| """ | |
| EOF = '' | |
| # aa* | |
| language = [ | |
| {EOF: True, 'a': 1}, |
| def decode(line, encodings): | |
| for encoding in encodings: | |
| try: | |
| return line.decode(encoding) | |
| except UnicodeDecodeError: | |
| pass | |
| return line.decode('utf-8', 'ignore') | |
| if __name__ == '__main__': |
| from collections import namedtuple | |
| Input = namedtuple('Input', ['index', 'value']) | |
| def identity(x): | |
| return x | |
| def step(x): | |
| return 1 if x >= 0 else -1 |
I hereby claim:
To claim this, I am signing this object:
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| namespace SDR | |
| { | |
| public class Deque<E> : IEnumerable<E> | |
| { | |
| readonly int size; |