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 listMar 10, 2024 11:54Andrey TsvetkovAndrey TsvetkovScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2024 11:545,53335,336,83117,704,00002,347,008
2Mar 10, 2024 11:545,53443,979,34416,668,0001,041,0002,347,008
3Mar 10, 2024 11:545,53546,215,12217,712,00002,351,104
4Mar 10, 2024 11:545,55944,453,67117,788,00002,355,200
5Mar 10, 2024 11:545,58243,565,08517,862,00002,342,912
6Mar 10, 2024 11:545,58343,515,88715,881,0001,985,0002,342,912
7Mar 10, 2024 11:545,58650,636,22517,876,00002,347,008
8Mar 10, 2024 11:545,58729,971,25815,892,0001,986,0002,342,912
9Mar 10, 2024 11:545,58845,014,54016,888,000993,0002,351,104
10Mar 10, 2024 11:545,60987,104,15717,948,46902,183,168
11Mar 10, 2024 11:545,61683,233,04517,970,07002,187,264
12Mar 10, 2024 11:546,174237,082,20519,756,09602,211,840