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 16, 2024 20:26RichardRichardScore: 11,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 20:2611,51461,945,13110,954,00025,892,0002,281,472
2Dec 16, 2024 20:2611,56963,863,3729,005,00028,017,0002,285,568
3Dec 16, 2024 20:2611,57465,813,39910,010,00027,028,0002,285,568
4Dec 16, 2024 20:2611,58268,601,4388,013,00029,050,0002,387,968
5Dec 16, 2024 20:2611,58759,705,06612,025,00025,052,0002,285,568
6Dec 16, 2024 20:2611,59964,523,0228,025,00029,093,0002,273,280
7Dec 16, 2024 20:2611,60364,702,4047,024,00030,105,0002,285,568
8Dec 16, 2024 20:2611,64959,798,92019,142,00018,135,0002,285,568
9Dec 16, 2024 20:2611,67559,658,8215,048,00032,311,0002,265,088