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 9, 2025 20:48Ian MckibbenIan MckibbenScore: 12,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 20:488,97754,460,83927,700,0001,025,0002,269,184
2Jan 9, 2025 20:489,02461,193,74026,885,0001,991,0002,289,664
3Jan 9, 2025 20:489,04657,272,18526,950,0001,996,0002,289,664
4Jan 9, 2025 20:4812,46066,281,75337,880,0001,993,0002,289,664
5Jan 9, 2025 20:4812,50664,341,46139,020,0001,000,0002,289,664
6Jan 9, 2025 20:4812,51462,426,27738,042,0002,002,0002,289,664