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 listNov 26, 2024 09:59Dmitrii KravchenkoDmitrii KravchenkoScore: 4,858Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 09:594,83544,244,12814,442,0001,031,0002,281,472
2Nov 26, 2024 09:594,84740,318,95813,443,0002,068,0002,273,280
3Nov 26, 2024 09:594,84933,191,07613,448,0002,069,0002,285,568
4Nov 26, 2024 09:594,85239,346,88313,456,0002,070,0002,273,280
5Nov 26, 2024 09:594,85832,431,77314,508,0001,036,0002,289,664
6Nov 26, 2024 09:594,86138,694,27415,554,00002,277,376
7Nov 26, 2024 09:594,86733,208,86814,535,0001,038,0002,281,472
8Nov 26, 2024 09:594,87732,211,76514,567,0001,040,0002,375,680
9Nov 26, 2024 09:594,87831,198,15214,571,0001,040,0002,281,472