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 05:26Ian MckibbenIan MckibbenScore: 4,498Success
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 05:264,44431,684,92313,206,0001,015,0002,269,184
2Jan 19, 2025 05:264,47028,734,79013,283,0001,021,0002,433,024
3Jan 19, 2025 05:264,48331,225,17214,345,00002,433,024
4Jan 19, 2025 05:264,49833,035,04814,392,00002,265,088
5Jan 19, 2025 05:264,49832,223,59514,392,00002,428,928
6Jan 19, 2025 05:264,50234,754,16013,378,0001,029,0002,531,328
7Jan 19, 2025 05:264,51730,837,43714,454,00002,433,024
8Jan 19, 2025 05:264,52639,027,43214,484,00002,531,328
9Jan 19, 2025 05:264,67842,424,29912,974,0001,996,0002,437,120