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, 2021 16:49Yuriy LyfenkoYuriy LyfenkoScore: 5,024Success
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, 2021 16:494,99393,150,11113,980,0001,997,0002,289,664
2Jun 17, 2021 16:495,00290,075,45414,006,0002,000,0002,404,352
3Jun 17, 2021 16:495,00388,616,50714,009,0002,001,0002,404,352
4Jun 17, 2021 16:495,01493,533,52114,041,0002,005,0002,396,160
5Jun 17, 2021 16:495,01787,444,52315,050,0001,003,0002,289,664
6Jun 17, 2021 16:495,02390,039,67315,069,0001,004,0002,404,352
7Jun 17, 2021 16:495,02487,269,23314,067,0002,009,0002,404,352
8Jun 17, 2021 16:495,03692,706,68915,107,0001,007,0002,289,664
9Jun 17, 2021 16:495,04789,991,87415,140,0001,009,0002,289,664
10Jun 17, 2021 16:495,146127,255,70116,468,69802,293,760
11Jun 17, 2021 16:495,184140,574,28716,590,24702,260,992
12Jun 17, 2021 16:495,196134,062,06116,628,36602,265,088