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 listDec 31, 2022 18:40Hal FHal FScore: 5,610Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 18:405,58245,543,26115,878,0001,984,0002,273,280
2Dec 31, 2022 18:405,58352,656,91515,880,0001,985,0002,289,664
3Dec 31, 2022 18:405,58443,715,07016,876,000992,0002,273,280
4Dec 31, 2022 18:405,58942,411,38615,897,0001,987,0002,289,664
5Dec 31, 2022 18:405,59446,409,97716,908,000994,0002,289,664
6Dec 31, 2022 18:405,60734,885,13015,949,0001,993,0002,289,664
7Dec 31, 2022 18:405,61040,953,11515,959,0001,994,0002,289,664
8Dec 31, 2022 18:405,61441,058,29815,970,0001,996,0002,289,664
9Dec 31, 2022 18:405,61745,200,87415,977,0001,997,0002,289,664
10Dec 31, 2022 18:405,80896,715,64618,585,34402,297,856
11Dec 31, 2022 18:405,82081,028,31218,625,53202,293,760
12Dec 31, 2022 18:405,89669,594,25318,867,06702,252,800