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 14:45Yuriy LyfenkoYuriy LyfenkoScore: 5,043Success
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 14:455,02232,854,03714,062,0002,008,0002,379,776
2May 30, 2021 14:455,02832,138,76015,083,0001,005,0002,383,872
3May 30, 2021 14:455,02933,416,83615,089,0001,005,0002,265,088
4May 30, 2021 14:455,03647,785,85815,108,0001,007,0002,527,232
5May 30, 2021 14:455,03832,005,88714,106,0002,015,0002,265,088
6May 30, 2021 14:455,03946,050,24414,109,0002,015,0002,265,088
7May 30, 2021 14:455,04343,275,42514,121,0002,017,0002,265,088
8May 30, 2021 14:455,04840,757,64314,136,0002,019,0002,265,088
9May 30, 2021 14:455,05347,189,86614,150,0002,021,0002,265,088
10May 30, 2021 14:455,20982,945,36316,670,08302,256,896
11May 30, 2021 14:455,219101,890,55616,699,78202,248,704
12May 30, 2021 14:455,25291,272,08316,807,09802,269,184