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 listAug 16, 2024 14:21vahookvahookScore: 4,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2024 14:214,25929,651,25513,630,00002,277,376
2Aug 16, 2024 14:214,26243,016,42613,639,00002,277,376
3Aug 16, 2024 14:214,26738,027,50413,654,00002,277,376
4Aug 16, 2024 14:214,26830,658,01913,656,00002,277,376
5Aug 16, 2024 14:214,26829,042,73913,657,00002,277,376
6Aug 16, 2024 14:214,27135,497,13613,668,00002,535,424
7Aug 16, 2024 14:214,27439,885,40813,678,00002,277,376
8Aug 16, 2024 14:214,27533,963,14813,679,00002,277,376
9Aug 16, 2024 14:214,27827,000,44213,688,00002,502,656
10Aug 16, 2024 14:214,52857,352,89114,490,53402,236,416
11Aug 16, 2024 14:214,54678,091,99114,548,59802,371,584
12Aug 16, 2024 14:214,55173,957,68414,563,91702,375,680