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 26, 2023 00:08IhebIhebScore: 5,801Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:085,70345,319,90917,235,0001,013,0002,289,664
2Sep 26, 2023 00:085,73741,271,91316,318,0002,039,0002,289,664
3Sep 26, 2023 00:085,75145,554,11718,403,00002,273,280
4Sep 26, 2023 00:085,75434,485,80216,368,0002,046,0002,273,280
5Sep 26, 2023 00:085,77539,798,77016,427,0002,053,0002,289,664
6Sep 26, 2023 00:085,79043,756,31417,498,0001,029,0002,527,232
7Sep 26, 2023 00:085,80140,865,49417,532,0001,031,0002,273,280
8Sep 26, 2023 00:085,80245,019,50017,536,0001,031,0002,289,664
9Sep 26, 2023 00:085,80446,795,02218,572,00002,289,664
10Sep 26, 2023 00:086,05565,982,14019,375,41202,179,072
11Sep 26, 2023 00:086,07694,796,67719,444,70102,174,976
12Sep 26, 2023 00:086,08456,513,54319,470,25802,293,760