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 listJun 19, 2023 17:34Ulyanov AlekseyUlyanov AlekseyScore: 5,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 17:345,78137,959,66217,473,0001,027,0002,289,664
2Jun 19, 2023 17:345,79144,262,09417,502,0001,029,0002,289,664
3Jun 19, 2023 17:345,79540,049,44717,515,0001,030,0002,289,664
4Jun 19, 2023 17:345,82944,984,26817,618,0001,036,0002,281,472
5Jun 19, 2023 17:345,83844,962,07618,680,00002,523,136
6Jun 19, 2023 17:345,84050,335,72718,689,00002,289,664
7Jun 19, 2023 17:345,84345,648,02617,659,0001,038,0002,269,184
8Jun 19, 2023 17:345,89140,518,43616,867,0001,984,0002,289,664
9Jun 19, 2023 17:345,90145,496,90016,897,0001,987,0002,289,664
10Jun 19, 2023 17:346,05185,505,51319,363,33102,289,664
11Jun 19, 2023 17:346,06181,543,88719,394,08102,301,952
12Jun 19, 2023 17:346,08875,952,65819,482,27102,293,760