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:54Ulyanov AlekseyUlyanov AlekseyScore: 5,970Success
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:545,94746,605,17617,027,0002,003,0002,277,376
2Jun 17, 2023 22:545,95344,281,52217,044,0002,005,0002,277,376
3Jun 17, 2023 22:545,95443,705,37717,047,0002,005,0002,273,280
4Jun 17, 2023 22:545,96641,715,61517,081,0002,009,0002,277,376
5Jun 17, 2023 22:545,96742,108,35918,089,0001,004,0002,277,376
6Jun 17, 2023 22:545,96942,001,10817,092,0002,010,0002,277,376
7Jun 17, 2023 22:545,97048,584,49017,093,0002,010,0002,277,376
8Jun 17, 2023 22:545,97843,277,38516,111,0003,020,0002,277,376
9Jun 17, 2023 22:545,97945,693,96718,127,0001,007,0002,277,376
10Jun 17, 2023 22:546,169115,422,21019,740,99602,297,856
11Jun 17, 2023 22:546,20496,704,54319,852,87202,293,760
12Jun 17, 2023 22:546,23866,422,52519,962,65302,297,856