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 21:55Ulyanov AlekseyUlyanov AlekseyScore: 5,897Success
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 21:555,81245,064,64817,566,0001,033,0002,281,472
2Jun 17, 2023 21:555,81349,312,92217,570,0001,033,0002,289,664
3Jun 17, 2023 21:555,84848,020,90818,714,00002,277,376
4Jun 17, 2023 21:555,85245,912,69817,687,0001,040,0002,273,280
5Jun 17, 2023 21:555,88356,640,96916,846,0001,981,0002,289,664
6Jun 17, 2023 21:555,89634,703,00116,882,0001,986,0002,289,664
7Jun 17, 2023 21:555,89750,432,72516,883,0001,986,0002,273,280
8Jun 17, 2023 21:555,89743,828,96616,885,0001,986,0002,277,376
9Jun 17, 2023 21:555,90144,587,16417,889,000993,0002,265,088
10Jun 17, 2023 21:556,06585,718,70319,407,42902,285,568
11Jun 17, 2023 21:556,06967,115,74319,420,75102,306,048
12Jun 17, 2023 21:556,10688,402,13419,538,04702,297,856