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 12, 2024 22:17vahookvahookScore: 4,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 12, 2024 22:174,47332,348,83514,313,00002,281,472
2Aug 12, 2024 22:174,47533,895,63514,320,00002,277,376
3Aug 12, 2024 22:174,47632,339,84213,299,0001,023,0002,404,352
4Aug 12, 2024 22:174,48444,915,75413,324,0001,024,0002,281,472
5Aug 12, 2024 22:174,49237,382,55413,349,0001,026,0002,404,352
6Aug 12, 2024 22:174,49539,151,56113,358,0001,027,0002,482,176
7Aug 12, 2024 22:174,50831,319,47814,425,00002,482,176
8Aug 12, 2024 22:174,51234,442,39514,437,00002,404,352
9Aug 12, 2024 22:174,51431,644,00413,413,0001,031,0002,281,472
10Aug 12, 2024 22:174,73677,361,03715,155,72502,293,760
11Aug 12, 2024 22:174,74386,676,89515,177,45702,301,952
12Aug 12, 2024 22:174,75977,577,34215,228,36402,301,952