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 listJul 25, 2024 15:43Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:434,409444,028,81812,094,0002,015,0002,527,232
2Jul 25, 2024 15:434,424439,979,50512,135,0002,022,0002,265,088
3Jul 25, 2024 15:434,427441,842,50513,154,0001,011,0002,396,160
4Jul 25, 2024 15:434,429438,544,06513,160,0001,012,0002,265,088
5Jul 25, 2024 15:434,431437,575,79913,167,0001,012,0002,265,088
6Jul 25, 2024 15:434,436438,716,12912,167,0002,027,0002,523,136
7Jul 25, 2024 15:434,443440,958,34712,188,0002,031,0002,400,256
8Jul 25, 2024 15:434,460441,200,64712,234,0002,039,0002,523,136
9Jul 25, 2024 15:434,468438,993,96412,255,0002,042,0002,523,136
10Jul 25, 2024 15:434,603473,974,88214,730,25202,273,280
11Jul 25, 2024 15:434,626473,559,40314,801,63502,285,568
12Jul 25, 2024 15:434,637475,928,25914,837,06202,281,472