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 10:01Alexander KimAlexander KimScore: 5,626Success
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 10:015,59638,907,53715,918,0001,989,0002,338,816
2Jan 3, 2023 10:015,60042,718,91515,930,0001,991,0002,342,912
3Jan 3, 2023 10:015,60843,444,45016,948,000996,0002,342,912
4Jan 3, 2023 10:015,60842,691,38415,951,0001,993,0002,342,912
5Jan 3, 2023 10:015,61131,563,32816,957,000997,0002,433,024
6Jan 3, 2023 10:015,61333,932,09016,963,000997,0002,347,008
7Jan 3, 2023 10:015,62649,897,10616,002,0002,000,0002,437,120
8Jan 3, 2023 10:015,63140,118,13217,017,0001,001,0002,342,912
9Jan 3, 2023 10:015,65848,346,02617,101,0001,005,0002,445,312
10Jan 3, 2023 10:015,68385,313,92518,185,72002,260,992
11Jan 3, 2023 10:015,71582,145,38218,287,77402,260,992
12Jan 3, 2023 10:015,85486,347,09118,732,01002,256,896