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 25, 2024 22:14Dmitrii KravchenkoDmitrii KravchenkoScore: 4,866Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 22:144,85332,523,44114,496,0001,035,0002,281,472
2Nov 25, 2024 22:144,85932,618,06715,550,00002,281,472
3Nov 25, 2024 22:144,86339,245,59615,563,00002,281,472
4Nov 25, 2024 22:144,86536,274,71314,530,0001,037,0002,281,472
5Nov 25, 2024 22:144,86641,144,71014,532,0001,038,0002,277,376
6Nov 25, 2024 22:144,86841,023,25114,538,0001,038,0002,281,472
7Nov 25, 2024 22:144,87137,169,63714,548,0001,039,0002,277,376
8Nov 25, 2024 22:144,87949,331,54414,573,0001,040,0002,281,472
9Nov 25, 2024 22:144,88242,909,84714,582,0001,041,0002,281,472