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 listJan 2, 2023 17:29Hal FHal FScore: 5,022Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:294,95643,505,75813,876,0001,982,0002,273,280
2Jan 2, 2023 17:294,96938,416,56613,914,0001,987,0002,527,232
3Jan 2, 2023 17:294,97232,177,49714,850,0001,060,0002,289,664
4Jan 2, 2023 17:294,97439,794,24213,928,0001,989,0002,289,664
5Jan 2, 2023 17:295,00335,955,36714,007,0002,001,0002,289,664
6Jan 2, 2023 17:295,01039,708,23215,031,0001,002,0002,289,664
7Jan 2, 2023 17:295,02244,232,49914,061,0002,008,0002,289,664
8Jan 2, 2023 17:295,11034,004,11814,308,0002,044,0002,289,664
9Jan 2, 2023 17:295,11138,050,18314,312,0002,044,0002,531,328
10Jan 2, 2023 17:295,16089,649,22016,510,40402,252,800
11Jan 2, 2023 17:295,16079,325,15516,513,33402,293,760
12Jan 2, 2023 17:295,19299,797,30416,613,11102,289,664