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 listMar 15, 2025 01:16xpwxpwScore: 45,865Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2025 01:1645,797172,487,261145,548,0001,003,0002,289,664
2Mar 15, 2025 01:1645,817172,333,511144,620,0001,994,0002,289,664
3Mar 15, 2025 01:1645,834172,015,899145,665,0001,004,0002,367,488
4Mar 15, 2025 01:1645,835174,516,176145,667,0001,004,0002,523,136
5Mar 15, 2025 01:1645,865173,424,111144,773,0001,996,0002,265,088
6Mar 15, 2025 01:1645,867173,782,057144,777,0001,996,0002,289,664
7Mar 15, 2025 01:1645,870170,844,233144,788,0001,997,0002,289,664
8Mar 15, 2025 01:1645,880174,088,850144,820,0001,997,0002,289,664
9Mar 15, 2025 01:1645,883174,105,294144,830,0001,997,0002,265,088