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 30, 2021 17:14Yuriy LyfenkoYuriy LyfenkoScore: 5,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:145,83548,503,34618,671,00002,396,160
2May 30, 2021 17:145,83749,070,49917,641,0001,037,0002,281,472
3May 30, 2021 17:145,85648,043,62517,699,0001,041,0002,281,472
4May 30, 2021 17:145,85641,518,61516,768,0001,972,0002,281,472
5May 30, 2021 17:145,89939,219,81317,885,000993,0002,281,472
6May 30, 2021 17:145,90152,447,28917,889,000993,0002,396,160
7May 30, 2021 17:145,92050,112,28117,948,000997,0002,281,472
8May 30, 2021 17:145,92842,803,02717,973,000998,0002,404,352
9May 30, 2021 17:145,93235,400,47717,984,000999,0002,510,848
10May 30, 2021 17:146,05290,153,30419,365,26402,293,760
11May 30, 2021 17:146,06399,551,82419,402,00602,285,568
12May 30, 2021 17:146,11097,277,89919,551,33002,285,568