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 02:12Ian MckibbenIan MckibbenScore: 5,389Success
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 02:125,37639,518,36316,192,0001,012,0002,289,664
2Jan 15, 2025 02:125,38934,425,40115,217,0002,029,0002,281,472
3Jan 15, 2025 02:125,43643,195,53016,373,0001,023,0002,289,664