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 listSep 14, 2024 22:19Dmitrii KravchenkoDmitrii KravchenkoScore: 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
1Sep 14, 2024 22:285,59846,413,35116,860,0001,053,0002,281,472
2Sep 14, 2024 22:195,60235,707,09214,939,0002,987,0002,281,472
3Sep 14, 2024 22:285,61052,244,57815,958,0001,994,0002,281,472
4Sep 14, 2024 22:195,62645,013,39916,004,0002,000,0002,281,472
5Sep 14, 2024 22:195,64135,817,12716,045,0002,005,0002,281,472
6Sep 14, 2024 22:285,66041,853,94217,105,0001,006,0002,277,376