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:47Ulyanov AlekseyUlyanov AlekseyScore: 5,789Success
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:475,72239,151,20616,277,0002,034,0002,289,664
2Jun 19, 2023 17:475,73040,433,29916,300,0002,037,0002,289,664
3Jun 19, 2023 17:475,74139,982,89116,331,0002,041,0002,289,664
4Jun 19, 2023 17:475,76145,398,19617,412,0001,024,0002,289,664
5Jun 19, 2023 17:475,76541,200,18717,424,0001,024,0002,289,664
6Jun 19, 2023 17:475,76738,120,78117,429,0001,025,0002,277,376
7Jun 19, 2023 17:475,78938,844,87017,497,0001,029,0002,355,200
8Jun 19, 2023 17:475,79541,843,66418,545,00002,273,280
9Jun 19, 2023 17:475,80142,780,40718,564,00002,289,664
10Jun 19, 2023 17:475,90772,650,45318,900,82302,297,856
11Jun 19, 2023 17:475,94883,447,59619,034,23202,289,664
12Jun 19, 2023 17:475,96192,383,45119,075,57202,297,856