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 listJan 15, 2025 01:00Ian MckibbenIan MckibbenScore: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 01:005,74134,374,28416,330,0002,041,0002,289,664
2Jan 15, 2025 01:005,75343,941,39017,387,0001,022,0002,273,280
3Jan 15, 2025 01:005,76741,693,52717,430,0001,025,0002,273,280
4Jan 15, 2025 01:005,78044,124,24917,469,0001,027,0002,289,664
5Jan 15, 2025 01:005,78438,908,61017,480,0001,028,0002,363,392
6Jan 15, 2025 01:005,81948,494,26517,588,0001,034,0002,269,184