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 22:09Egor SergeevEgor SergeevScore: 5,301Success
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 22:095,15438,369,48016,494,00002,498,560
2Jun 28, 2021 22:095,22440,489,40116,717,00002,498,560
3Jun 28, 2021 22:095,27441,025,22315,884,000992,0002,277,376
4Jun 28, 2021 22:095,27841,955,35615,897,000993,0002,277,376
5Jun 28, 2021 22:095,27843,476,74715,897,000993,0002,277,376
6Jun 28, 2021 22:095,27843,126,23415,898,000993,0002,277,376
7Jun 28, 2021 22:095,30133,482,35715,965,000997,0002,277,376
8Jun 28, 2021 22:095,30939,363,46015,989,000999,0002,490,368
9Jun 28, 2021 22:095,32443,263,91816,036,0001,002,0002,494,464
10Jun 28, 2021 22:095,39979,032,18017,276,32402,240,512
11Jun 28, 2021 22:095,41274,392,41017,317,06402,244,608
12Jun 28, 2021 22:095,45179,050,32717,442,80602,236,416