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 29, 2024 18:11gviaugviauScore: 4,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 18:114,86931,945,19814,544,0001,038,0002,527,232
2Jul 29, 2024 18:114,87539,316,31014,561,0001,040,0002,289,664
3Jul 29, 2024 18:114,88031,421,71115,617,00002,289,664
4Jul 29, 2024 18:114,88536,007,58014,591,0001,042,0002,289,664
5Jul 29, 2024 18:114,90233,040,54414,641,0001,045,0002,289,664
6Jul 29, 2024 18:114,90433,008,72114,648,0001,046,0002,289,664
7Jul 29, 2024 18:114,91242,908,42814,670,0001,047,0002,265,088
8Jul 29, 2024 18:114,92033,919,73914,695,0001,049,0002,289,664
9Jul 29, 2024 18:114,95731,907,75313,879,0001,982,0002,289,664
10Jul 29, 2024 18:115,13885,091,02016,442,13202,297,856
11Jul 29, 2024 18:115,14498,752,46216,459,39702,301,952
12Jul 29, 2024 18:115,17689,454,59016,563,93602,174,976