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 2, 2023 16:50Jack FrigaardJack FrigaardScore: 4,855Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:504,81531,453,95613,355,0002,054,0002,527,232
2Jan 2, 2023 16:504,81835,057,32114,391,0001,027,0002,269,184
3Jan 2, 2023 16:504,82943,724,71514,422,0001,030,0002,273,280
4Jan 2, 2023 16:504,83235,441,48214,433,0001,030,0002,269,184
5Jan 2, 2023 16:504,83539,515,46114,442,0001,031,0002,531,328
6Jan 2, 2023 16:504,84438,598,98914,468,0001,033,0002,531,328
7Jan 2, 2023 16:504,85536,270,30214,501,0001,035,0002,285,568
8Jan 2, 2023 16:504,86136,435,24615,555,00002,285,568
9Jan 2, 2023 16:504,87431,734,98714,557,0001,039,0002,269,184
10Jan 2, 2023 16:505,07089,632,51616,223,53602,297,856
11Jan 2, 2023 16:505,09854,842,22116,313,53202,301,952
12Jan 2, 2023 16:505,10275,033,64516,325,82602,289,664