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 11:51Jules MinierJules MinierScore: 5,516Success
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 11:515,48439,523,28317,549,00002,289,664
2Nov 1, 2021 11:515,48434,394,33716,517,0001,032,0002,289,664
3Nov 1, 2021 11:515,50133,543,02217,602,00002,289,664
4Nov 1, 2021 11:515,50248,820,03416,571,0001,035,0002,387,968
5Nov 1, 2021 11:515,50642,382,39417,619,00002,289,664
6Nov 1, 2021 11:515,51545,509,08616,610,0001,038,0002,289,664
7Nov 1, 2021 11:515,51635,446,47716,614,0001,038,0002,289,664
8Nov 1, 2021 11:515,52134,544,68516,629,0001,039,0002,289,664
9Nov 1, 2021 11:515,57045,203,05315,843,0001,980,0002,289,664
10Nov 1, 2021 11:515,67096,476,14718,144,46202,301,952
11Nov 1, 2021 11:515,68578,582,36018,191,13502,293,760
12Nov 1, 2021 11:515,72165,889,59118,305,67902,297,856