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,433Success
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,39343,106,24316,241,0001,015,0002,265,088
2May 17, 2021 04:395,40235,193,34515,254,0002,033,0002,265,088
3May 17, 2021 04:395,41140,263,14815,278,0002,037,0002,400,256
4May 17, 2021 04:395,41732,346,68817,333,00002,265,088
5May 17, 2021 04:395,41742,872,61215,296,0002,039,0002,265,088
6May 17, 2021 04:395,42854,709,59717,368,00002,265,088
7May 17, 2021 04:395,43341,265,61815,340,0002,045,0002,527,232
8May 17, 2021 04:395,44546,025,68615,375,0002,050,0002,265,088
9May 17, 2021 04:395,46735,362,76916,465,0001,029,0002,396,160
10May 17, 2021 04:395,63295,702,94018,021,09502,281,472
11May 17, 2021 04:395,66872,347,73618,138,44502,269,184
12May 17, 2021 04:395,70978,756,68218,268,29302,277,376