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 listSep 7, 2022 02:29Yuriy LyfenkoYuriy LyfenkoScore: 4,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:294,416539,872,59512,112,0002,018,0002,523,136
2Sep 7, 2022 02:294,429539,500,87012,148,0002,024,0002,260,992
3Sep 7, 2022 02:294,436542,179,04912,167,0002,027,0002,523,136
4Sep 7, 2022 02:294,437534,875,47614,198,00002,260,992
5Sep 7, 2022 02:294,439543,164,13413,191,0001,014,0002,523,136
6Sep 7, 2022 02:294,440536,767,59912,179,0002,029,0002,265,088
7Sep 7, 2022 02:294,442537,409,43014,214,00002,523,136
8Sep 7, 2022 02:294,444536,632,43914,221,00002,260,992
9Sep 7, 2022 02:294,450533,343,81813,222,0001,017,0002,265,088
10Sep 7, 2022 02:294,597579,362,08314,710,37602,269,184
11Sep 7, 2022 02:294,608579,608,07014,746,67402,277,376
12Sep 7, 2022 02:294,612572,087,81814,757,47002,289,664