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 12, 2024 03:12Yuriy LyfenkoYuriy LyfenkoScore: 4,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:124,415642,895,87512,110,0002,018,0002,260,992
2Jun 12, 2024 03:124,422642,217,93613,141,0001,010,0002,260,992
3Jun 12, 2024 03:124,424637,274,97712,134,0002,022,0002,523,136
4Jun 12, 2024 03:124,440641,156,23514,208,00002,260,992
5Jun 12, 2024 03:124,441636,273,15013,196,0001,015,0002,260,992
6Jun 12, 2024 03:124,443637,283,17613,204,0001,015,0002,392,064
7Jun 12, 2024 03:124,447636,800,01613,213,0001,016,0002,523,136
8Jun 12, 2024 03:124,449640,125,47413,221,0001,017,0002,523,136
9Jun 12, 2024 03:124,452638,979,50413,230,0001,017,0002,523,136
10Jun 12, 2024 03:124,621668,694,60214,788,69502,244,608
11Jun 12, 2024 03:124,636686,166,88314,834,55302,342,912
12Jun 12, 2024 03:124,637689,817,52614,837,64002,342,912