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:45Jack FrigaardJack FrigaardScore: 5,066Success
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:455,02237,103,14614,062,0002,008,0002,285,568
2Jan 2, 2023 16:455,03131,665,07615,092,0001,006,0002,285,568
3Jan 2, 2023 16:455,03942,422,74214,111,0002,015,0002,285,568
4Jan 2, 2023 16:455,04837,441,16615,143,0001,009,0002,383,872
5Jan 2, 2023 16:455,05133,065,09215,153,0001,010,0002,527,232
6Jan 2, 2023 16:455,05340,651,39916,170,00002,269,184
7Jan 2, 2023 16:455,06644,723,17815,197,0001,013,0002,269,184
8Jan 2, 2023 16:455,07644,261,12114,214,0002,030,0002,527,232
9Jan 2, 2023 16:455,09146,897,32514,255,0002,036,0002,273,280
10Jan 2, 2023 16:455,282105,217,99216,902,77102,301,952
11Jan 2, 2023 16:455,28989,390,73016,925,60602,297,856
12Jan 2, 2023 16:455,33396,702,66017,064,35202,301,952