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 30, 2022 20:31Hal FHal FScore: 5,606Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 20:315,58439,817,13715,885,0001,985,0002,277,376
2Dec 30, 2022 20:315,58543,332,67515,771,0002,102,0002,273,280
3Dec 30, 2022 20:315,58842,469,38715,896,0001,987,0002,273,280
4Dec 30, 2022 20:315,59144,152,28616,898,000994,0002,277,376
5Dec 30, 2022 20:315,59443,189,38715,912,0001,989,0002,531,328
6Dec 30, 2022 20:315,59446,396,90917,901,00002,269,184
7Dec 30, 2022 20:315,60640,260,87715,946,0001,993,0002,273,280
8Dec 30, 2022 20:315,62944,561,20917,013,0001,000,0002,277,376
9Dec 30, 2022 20:315,68747,411,72918,197,00002,277,376
10Dec 30, 2022 20:315,87094,348,65518,785,36802,301,952
11Dec 30, 2022 20:315,87186,552,25518,787,60302,297,856
12Dec 30, 2022 20:315,90588,413,32518,896,30502,191,360