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 10:00Dmitrii KravchenkoDmitrii KravchenkoScore: 4,848Success
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 10:004,83833,184,03613,416,0002,064,0002,281,472
2Nov 26, 2024 10:004,83943,779,54812,388,0003,097,0002,281,472
3Nov 26, 2024 10:004,84132,932,73615,490,00002,281,472
4Nov 26, 2024 10:004,84838,642,63913,445,0002,068,0002,277,376
5Nov 26, 2024 10:004,84838,290,58913,447,0002,068,0002,281,472
6Nov 26, 2024 10:004,85237,996,25614,492,0001,035,0002,281,472
7Nov 26, 2024 10:004,85337,225,03815,528,00002,281,472
8Nov 26, 2024 10:004,85837,168,71814,510,0001,036,0002,281,472
9Nov 26, 2024 10:004,87433,182,96514,558,0001,039,0002,281,472