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 listJan 19, 2025 02:24Ian MckibbenIan MckibbenScore: 4,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 02:244,47830,466,41114,329,00002,531,328
2Jan 19, 2025 02:244,49330,900,79414,378,00002,531,328
3Jan 19, 2025 02:244,49435,301,29213,354,0001,027,0002,531,328
4Jan 19, 2025 02:244,49532,438,15814,385,00002,531,328
5Jan 19, 2025 02:244,49733,224,54313,363,0001,027,0002,531,328
6Jan 19, 2025 02:244,49833,504,22614,393,00002,531,328
7Jan 19, 2025 02:244,50232,034,91113,378,0001,029,0002,424,832
8Jan 19, 2025 02:244,50328,922,91112,353,0002,058,0002,437,120
9Jan 19, 2025 02:244,52330,058,88614,472,00002,437,120