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, 2023 00:22Martin StensgårdMartin StensgårdScore: 5,375Success
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, 2023 00:225,33543,800,07415,063,0002,008,0002,273,280
2May 17, 2023 00:225,33639,459,35415,067,0002,009,0002,445,312
3May 17, 2023 00:225,35333,092,94015,115,0002,015,0002,445,312
4May 17, 2023 00:225,36439,051,53615,147,0002,019,0002,273,280
5May 17, 2023 00:225,36635,086,95015,150,0002,020,0002,449,408
6May 17, 2023 00:225,37436,301,46515,173,0002,023,0002,535,424
7May 17, 2023 00:225,37538,183,40115,177,0002,023,0002,273,280
8May 17, 2023 00:225,39039,165,73615,220,0002,029,0002,273,280
9May 17, 2023 00:225,40840,837,26415,271,0002,036,0002,441,216
10May 17, 2023 00:225,53480,263,21117,707,67802,195,456
11May 17, 2023 00:225,54096,832,18217,727,31702,252,800
12May 17, 2023 00:225,55895,097,81117,785,86902,207,744