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 listJun 9, 2024 19:48джулисджулисScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:485,22341,893,51416,712,00002,293,760
2Jun 9, 2024 19:485,26343,566,20215,853,000990,0002,293,760
3Jun 9, 2024 19:485,27143,332,44415,874,000992,0002,293,760
4Jun 9, 2024 19:485,27143,988,61814,882,0001,984,0002,293,760
5Jun 9, 2024 19:485,27548,155,99914,895,0001,986,0002,375,680
6Jun 9, 2024 19:485,27745,920,74615,831,0001,055,0002,293,760
7Jun 9, 2024 19:485,27836,759,18915,898,000993,0002,367,488
8Jun 9, 2024 19:485,27948,056,56415,899,000993,0002,293,760
9Jun 9, 2024 19:485,29749,332,77514,956,0001,994,0002,371,584
10Jun 9, 2024 19:485,55580,232,65817,775,13702,248,704
11Jun 9, 2024 19:485,66579,878,01118,126,48702,248,704
12Jun 9, 2024 19:485,69571,251,17718,224,91902,244,608