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 listApr 20, 2024 15:01Joad NacerJoad NacerScore: 4,872Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2024 15:014,84438,115,84614,468,0001,033,0002,289,664
2Apr 20, 2024 15:014,84840,280,50114,480,0001,034,0002,289,664
3Apr 20, 2024 15:014,85033,594,01614,487,0001,034,0002,527,232
4Apr 20, 2024 15:014,85832,857,85814,509,0001,036,0002,531,328
5Apr 20, 2024 15:014,86333,640,58914,525,0001,037,0002,285,568
6Apr 20, 2024 15:014,86634,566,89914,533,0001,038,0002,289,664
7Apr 20, 2024 15:014,87236,483,39715,589,00002,289,664
8Apr 20, 2024 15:014,88647,943,33214,593,0001,042,0002,289,664
9Apr 20, 2024 15:014,95845,488,66013,883,0001,983,0002,269,184
10Apr 20, 2024 15:015,07777,584,59616,245,98802,306,048
11Apr 20, 2024 15:015,13083,043,34416,415,79302,306,048
12Apr 20, 2024 15:015,14491,868,47116,459,44002,301,952