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 17, 2021 04:39Yuriy LyfenkoYuriy LyfenkoScore: 5,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 04:395,38639,609,57612,166,0005,069,0002,269,184
2May 17, 2021 04:395,39234,848,20615,225,0002,030,0002,265,088
3May 17, 2021 04:395,39440,243,14915,231,0002,030,0002,265,088
4May 17, 2021 04:395,39738,804,85916,255,0001,015,0002,265,088
5May 17, 2021 04:395,39840,304,55814,225,0003,048,0002,265,088
6May 17, 2021 04:395,40348,315,81317,288,00002,265,088
7May 17, 2021 04:395,40439,879,91016,276,0001,017,0002,265,088
8May 17, 2021 04:395,40444,047,34914,242,0003,052,0002,527,232
9May 17, 2021 04:395,42536,947,05515,317,0002,042,0002,387,968
10May 17, 2021 04:395,63672,286,32718,033,77602,269,184
11May 17, 2021 04:395,64087,244,98518,046,87202,277,376
12May 17, 2021 04:395,82363,552,52318,633,02802,285,568