Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listNov 1, 2021 13:11Ilya AniskovetsIlya AniskovetsScore: 5,391Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 13:115,36644,624,70716,161,0001,010,0002,392,064
2Nov 1, 2021 13:115,36845,120,66514,146,0003,031,0002,392,064
3Nov 1, 2021 13:115,36943,308,30115,159,0002,021,0002,383,872
4Nov 1, 2021 13:115,37637,153,14216,192,0001,012,0002,519,040
5Nov 1, 2021 13:115,38445,224,85514,188,0003,040,0002,392,064
6Nov 1, 2021 13:115,38538,566,94515,205,0002,027,0002,375,680
7Nov 1, 2021 13:115,39133,232,84415,221,0002,029,0002,383,872
8Nov 1, 2021 13:115,39334,380,50015,228,0002,030,0002,387,968
9Nov 1, 2021 13:115,44133,138,38316,388,0001,024,0002,519,040
10Nov 1, 2021 13:115,59785,542,59317,909,80802,277,376
11Nov 1, 2021 13:115,61683,206,53617,970,46402,289,664
12Nov 1, 2021 13:115,63690,052,27718,033,62902,285,568