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 17, 2023 22:25Ulyanov AlekseyUlyanov AlekseyScore: 5,896Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:255,82333,668,63217,599,0001,035,0002,273,280
2Jun 17, 2023 22:255,83344,675,71317,628,0001,036,0002,277,376
3Jun 17, 2023 22:255,88843,562,77215,867,0002,975,0002,277,376
4Jun 17, 2023 22:255,89043,607,15816,865,0001,984,0002,277,376
5Jun 17, 2023 22:255,89349,620,75516,872,0001,985,0002,277,376
6Jun 17, 2023 22:255,89445,868,63317,869,000992,0002,269,184
7Jun 17, 2023 22:255,89650,373,58317,874,000993,0002,277,376
8Jun 17, 2023 22:255,90047,680,09515,898,0002,981,0002,273,280
9Jun 17, 2023 22:255,90036,084,22016,894,0001,987,0002,523,136
10Jun 17, 2023 22:256,06673,821,72019,412,54102,293,760
11Jun 17, 2023 22:256,084102,933,29619,468,46202,297,856
12Jun 17, 2023 22:256,10574,810,79019,535,23902,301,952