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 listJan 3, 2023 01:01Alexander KimAlexander KimScore: 5,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 01:015,63443,888,32217,027,0001,001,0002,342,912
2Jan 3, 2023 01:015,65143,672,38317,080,0001,004,0002,289,664
3Jan 3, 2023 01:015,65946,866,38516,096,0002,012,0002,306,048
4Jan 3, 2023 01:015,66237,248,03917,112,0001,006,0002,412,544
5Jan 3, 2023 01:015,67846,885,68217,161,0001,009,0002,379,776
6Jan 3, 2023 01:015,68141,065,34917,169,0001,009,0002,342,912
7Jan 3, 2023 01:015,69342,050,47615,181,0003,036,0002,342,912
8Jan 3, 2023 01:015,70482,707,87218,251,55802,256,896
9Jan 3, 2023 01:015,70535,445,99414,199,0004,056,0002,342,912
10Jan 3, 2023 01:015,71839,746,96516,265,0002,033,0002,342,912
11Jan 3, 2023 01:015,72884,747,50118,331,10602,256,896
12Jan 3, 2023 01:015,73681,675,67118,355,99802,256,896