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 listJul 13, 2021 19:22Andrey TsvetkovAndrey TsvetkovScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:225,67939,968,58516,036,0002,138,0002,523,136
2Jul 13, 2021 19:225,69342,415,36515,181,0003,036,0002,523,136
3Jul 13, 2021 19:225,69840,925,69815,194,0003,038,0002,531,328
4Jul 13, 2021 19:225,70943,030,79316,240,0002,030,0002,334,720
5Jul 13, 2021 19:225,71441,018,87316,255,0002,031,0002,334,720
6Jul 13, 2021 19:225,71546,735,58416,256,0002,032,0002,334,720
7Jul 13, 2021 19:225,72488,042,54218,318,01102,232,320
8Jul 13, 2021 19:225,72740,984,94415,273,0003,054,0002,330,624
9Jul 13, 2021 19:225,74253,130,08216,333,0002,041,0002,318,336
10Jul 13, 2021 19:225,74472,975,00518,382,06802,236,416
11Jul 13, 2021 19:225,75181,580,65218,404,56902,244,608
12Jul 13, 2021 19:225,75243,664,73516,361,0002,045,0002,531,328