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 listMay 30, 2021 00:26Egor SergeevEgor SergeevScore: 5,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 00:265,13931,791,89016,445,00002,277,376
2May 30, 2021 00:265,14843,657,64116,473,00002,498,560
3May 30, 2021 00:265,14939,337,61216,478,00002,494,464
4May 30, 2021 00:265,16031,927,04916,512,00002,502,656
5May 30, 2021 00:265,16533,400,73116,529,00002,277,376
6May 30, 2021 00:265,16941,397,91416,540,00002,277,376
7May 30, 2021 00:265,18240,910,08616,582,00002,502,656
8May 30, 2021 00:265,18333,000,23116,587,00002,494,464
9May 30, 2021 00:265,20936,506,61616,668,00002,277,376
10May 30, 2021 00:265,36943,344,13117,180,76702,248,704
11May 30, 2021 00:265,38967,355,79217,244,54602,240,512
12May 30, 2021 00:265,52759,918,57317,685,51002,240,512