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 16:07Yuriy LyfenkoYuriy LyfenkoScore: 4,433Success
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 16:074,398541,264,25512,065,0002,010,0002,404,352
2Jul 25, 2024 16:074,403544,579,99212,078,0002,013,0002,392,064
3Jul 25, 2024 16:074,413542,857,57812,104,0002,017,0002,523,136
4Jul 25, 2024 16:074,421547,655,08713,138,0001,010,0002,260,992
5Jul 25, 2024 16:074,425536,251,59712,138,0002,023,0002,265,088
6Jul 25, 2024 16:074,430539,668,48312,150,0002,025,0002,523,136
7Jul 25, 2024 16:074,433535,675,87213,171,0001,013,0002,260,992
8Jul 25, 2024 16:074,439541,454,98213,191,0001,014,0002,527,232
9Jul 25, 2024 16:074,453540,579,86913,232,0001,017,0002,265,088
10Jul 25, 2024 16:074,614581,091,97814,765,39702,240,512
11Jul 25, 2024 16:074,624572,717,34914,798,17802,285,568
12Jul 25, 2024 16:074,652592,177,58814,887,65102,285,568