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 listMay 24, 2021 19:36Yuriy LyfenkoYuriy LyfenkoScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:365,20034,065,80315,600,0001,040,0002,392,064
2May 24, 2021 19:365,21632,739,59215,648,0001,043,0002,523,136
3May 24, 2021 19:365,22242,931,68315,665,0001,044,0002,523,136
4May 24, 2021 19:365,22234,010,37214,622,0002,088,0002,523,136
5May 24, 2021 19:365,22441,423,18415,673,0001,044,0002,523,136
6May 24, 2021 19:365,26734,395,63714,872,0001,983,0002,265,088
7May 24, 2021 19:365,27235,754,81415,879,000992,0002,260,992
8May 24, 2021 19:365,27245,114,19714,887,0001,984,0002,265,088
9May 24, 2021 19:365,27531,650,44914,894,0001,985,0002,260,992
10May 24, 2021 19:365,41773,749,84217,335,34202,277,376
11May 24, 2021 19:365,42244,069,61417,351,97302,277,376
12May 24, 2021 19:365,45779,889,87817,462,42302,416,640