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 listSep 2, 2022 19:14Franek KortaFranek KortaScore: 4,782Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2022 19:144,73736,969,14514,148,0001,010,0002,437,120
2Sep 2, 2022 19:144,76437,665,87314,228,0001,016,0002,269,184
3Sep 2, 2022 19:144,76839,181,74714,241,0001,017,0002,428,928
4Sep 2, 2022 19:144,77328,896,93914,256,0001,018,0002,437,120
5Sep 2, 2022 19:144,77338,988,30414,257,0001,018,0002,428,928
6Sep 2, 2022 19:144,78030,137,62013,258,0002,039,0002,424,832
7Sep 2, 2022 19:144,78244,533,58213,261,0002,040,0002,269,184
8Sep 2, 2022 19:144,79633,922,83214,323,0001,023,0002,531,328
9Sep 2, 2022 19:144,80035,128,45413,312,0002,048,0002,535,424
10Sep 2, 2022 19:145,00789,165,04716,022,56702,207,744
11Sep 2, 2022 19:145,01082,639,68116,033,34702,207,744
12Sep 2, 2022 19:145,03275,184,44816,102,39302,207,744