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 22:35xpwxpwScore: 5,492Success
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 22:355,46647,056,49116,462,0001,028,0002,273,280
2Mar 15, 2025 22:355,46947,006,99416,472,0001,029,0002,269,184
3Mar 15, 2025 22:355,48947,032,43916,531,0001,033,0002,265,088
4Mar 15, 2025 22:355,49131,295,92516,538,0001,033,0002,273,280
5Mar 15, 2025 22:355,49235,834,31116,540,0001,033,0002,265,088
6Mar 15, 2025 22:355,49535,045,84216,551,0001,034,0002,289,664
7Mar 15, 2025 22:355,49647,829,99516,554,0001,034,0002,289,664
8Mar 15, 2025 22:355,50450,150,96017,614,00002,289,664
9Mar 15, 2025 22:355,50645,430,27316,582,0001,036,0002,289,664