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 8, 2021 13:36Jules MinierJules MinierScore: 5,848Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2021 13:365,80641,281,01317,547,0001,032,0002,269,184
2Aug 8, 2021 13:365,81545,058,55718,609,00002,289,664
3Aug 8, 2021 13:365,82148,712,97317,592,0001,034,0002,289,664
4Aug 8, 2021 13:365,83134,612,81917,622,0001,036,0002,269,184
5Aug 8, 2021 13:365,83147,215,64017,622,0001,036,0002,269,184
6Aug 8, 2021 13:365,84647,304,68717,668,0001,039,0002,289,664
7Aug 8, 2021 13:365,84844,377,90817,675,0001,039,0002,289,664
8Aug 8, 2021 13:365,85444,660,25717,692,0001,040,0002,273,280
9Aug 8, 2021 13:365,89447,142,89517,870,000992,0002,289,664
10Aug 8, 2021 13:366,04488,885,46019,340,36302,293,760
11Aug 8, 2021 13:366,05794,042,69519,382,84002,297,856
12Aug 8, 2021 13:366,05895,902,26219,384,03702,301,952