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 30, 2024 10:26AnSaAnSaScore: 5,787Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:265,73337,810,90416,309,0002,038,0002,269,184
2Jun 30, 2024 10:265,73539,107,21016,313,0002,039,0002,523,136
3Jun 30, 2024 10:265,73844,557,34717,340,0001,020,0002,273,280
4Jun 30, 2024 10:265,75039,259,03916,357,0002,044,0002,289,664
5Jun 30, 2024 10:265,78145,015,30117,472,0001,027,0002,269,184
6Jun 30, 2024 10:265,78649,710,44316,457,0002,057,0002,269,184
7Jun 30, 2024 10:265,78751,113,08918,518,00002,265,088
8Jun 30, 2024 10:265,80541,128,27717,545,0001,032,0002,289,664
9Jun 30, 2024 10:265,82343,966,73018,632,00002,289,664
10Jun 30, 2024 10:265,92484,923,53518,958,20102,289,664
11Jun 30, 2024 10:266,04382,421,96119,336,54102,301,952
12Jun 30, 2024 10:266,05384,533,27119,368,04802,285,568