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 listOct 18, 2024 10:52Dmitrii KravchenkoDmitrii KravchenkoScore: 5,616Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 11:085,58144,721,47016,866,000992,0002,281,472
2Sep 17, 2024 11:085,58943,699,98316,891,000993,0002,387,968
3Oct 18, 2024 10:525,59033,229,63315,901,0001,987,0002,281,472
4Sep 17, 2024 11:085,61644,391,74514,975,0002,995,0002,273,280
5Oct 18, 2024 10:525,61832,839,30014,980,0002,996,0002,281,472
6Oct 18, 2024 10:525,62746,825,94816,005,0002,000,0002,281,472