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 listJun 28, 2021 20:36Egor SergeevEgor SergeevScore: 5,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 20:365,11536,195,41116,369,00002,498,560
2Jun 28, 2021 20:365,13334,744,91114,492,0001,932,0002,277,376
3Jun 28, 2021 20:365,13632,015,43416,436,00002,502,656
4Jun 28, 2021 20:365,13934,664,21616,446,00002,277,376
5Jun 28, 2021 20:365,14544,164,22116,464,00002,502,656
6Jun 28, 2021 20:365,14741,302,54116,471,00002,277,376
7Jun 28, 2021 20:365,14739,764,06116,471,00002,494,464
8Jun 28, 2021 20:365,15535,168,75716,496,00002,277,376
9Jun 28, 2021 20:365,15938,545,52716,509,00002,494,464
10Jun 28, 2021 20:365,39570,618,14717,265,25302,240,512
11Jun 28, 2021 20:365,40647,364,59017,298,23802,244,608
12Jun 28, 2021 20:365,50581,369,84017,615,92602,240,512