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 20, 2023 22:50gchebanovgchebanovScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2023 22:505,59134,203,03715,904,0001,988,0002,265,088
2Jul 20, 2023 22:505,60342,502,41516,935,000996,0002,387,968
3Jul 20, 2023 22:505,60449,006,52916,938,000996,0002,387,968
4Jul 20, 2023 22:505,60550,097,79016,941,000996,0002,265,088
5Jul 20, 2023 22:505,60935,243,55416,953,000997,0002,265,088
6Jul 20, 2023 22:505,61146,904,55115,960,0001,995,0002,265,088
7Jul 20, 2023 22:505,62442,588,35515,998,0001,999,0002,265,088
8Jul 20, 2023 22:505,63142,336,65717,017,0001,001,0002,502,656
9Jul 20, 2023 22:505,64047,985,10816,042,0002,005,0002,527,232
10Jul 20, 2023 22:505,81480,730,28018,605,76502,269,184
11Jul 20, 2023 22:505,85070,463,44918,719,02402,289,664
12Jul 20, 2023 22:505,85193,270,17218,722,47302,273,280