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 listMay 12, 2021 13:49Mikhail DektyarevMikhail DektyarevScore: 5,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 13:495,03629,795,63814,100,0002,014,0002,383,872
2May 12, 2021 13:495,04244,101,60513,109,0003,025,0002,379,776
3May 12, 2021 13:495,04238,417,57914,118,0002,016,0002,387,968
4May 12, 2021 13:495,04442,121,54114,125,0002,017,0002,519,040
5May 12, 2021 13:495,05634,407,22414,156,0002,022,0002,392,064
6May 12, 2021 13:495,05637,789,82314,157,0002,022,0002,519,040
7May 12, 2021 13:495,06840,911,30614,191,0002,027,0002,375,680
8May 12, 2021 13:495,08535,540,90415,255,0001,017,0002,519,040
9May 12, 2021 13:495,10743,348,84116,341,00002,519,040
10May 12, 2021 13:495,31191,193,82816,995,80102,285,568
11May 12, 2021 13:495,33289,575,13317,062,43002,285,568
12May 12, 2021 13:495,34181,882,67417,091,11402,273,280