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 16, 2021 13:38Yuriy LyfenkoYuriy LyfenkoScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:385,41844,061,97915,299,0002,039,0002,510,848
2May 16, 2021 13:385,42543,101,83416,340,0001,021,0002,519,040
3May 16, 2021 13:385,42646,133,86716,343,0001,021,0002,519,040
4May 16, 2021 13:385,43543,741,65417,393,00002,519,040
5May 16, 2021 13:385,43541,563,41816,370,0001,023,0002,383,872
6May 16, 2021 13:385,44542,702,83415,374,0002,049,0002,375,680
7May 16, 2021 13:385,45734,905,47316,435,0001,027,0002,392,064
8May 16, 2021 13:385,46342,044,54216,454,0001,028,0002,519,040
9May 16, 2021 13:385,46542,062,20817,489,00002,519,040
10May 16, 2021 13:385,67193,319,89418,146,89902,281,472
11May 16, 2021 13:385,71878,063,20118,296,56302,273,280
12May 16, 2021 13:385,73551,815,90118,353,39902,273,280