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 listJan 5, 2023 22:34Hal FHal FScore: 4,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 22:344,74135,751,77414,161,0001,011,0002,269,184
2Jan 5, 2023 22:344,74739,467,20113,165,0002,025,0002,289,664
3Jan 5, 2023 22:344,75738,181,73414,209,0001,014,0002,531,328
4Jan 5, 2023 22:344,76433,283,69913,213,0002,032,0002,289,664
5Jan 5, 2023 22:344,78641,463,93313,273,0002,042,0002,289,664
6Jan 5, 2023 22:344,79132,127,21013,287,0002,044,0002,289,664
7Jan 5, 2023 22:344,79332,636,58813,294,0002,045,0002,273,280
8Jan 5, 2023 22:344,79640,351,80113,301,0002,046,0002,289,664
9Jan 5, 2023 22:344,80442,840,76014,349,0001,024,0002,269,184
10Jan 5, 2023 22:345,00175,258,24016,001,63602,285,568
11Jan 5, 2023 22:345,00384,573,28716,010,67202,285,568
12Jan 5, 2023 22:345,01594,917,29416,046,44602,289,664