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 listApr 7, 2022 20:54Egor SergeevEgor SergeevScore: 5,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 20:545,10743,251,90616,341,00002,277,376
2Apr 7, 2022 20:545,11835,909,91016,379,00002,498,560
3Apr 7, 2022 20:545,13040,382,81216,417,00002,502,656
4Apr 7, 2022 20:545,13234,805,87316,421,00002,277,376
5Apr 7, 2022 20:545,13234,274,34816,422,00002,498,560
6Apr 7, 2022 20:545,13229,884,91816,423,00002,277,376
7Apr 7, 2022 20:545,13835,118,38716,442,00002,498,560
8Apr 7, 2022 20:545,14629,880,96216,468,00002,498,560
9Apr 7, 2022 20:545,16739,574,94516,533,00002,277,376
10Apr 7, 2022 20:545,38067,964,80117,215,49002,248,704
11Apr 7, 2022 20:545,39291,173,89017,255,45302,240,512
12Apr 7, 2022 20:545,41083,006,54717,313,11002,260,992