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:03Ian MckibbenIan MckibbenScore: 7,017Success
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:035,79040,879,71917,500,0001,029,0002,519,040
2Jan 15, 2025 01:035,79835,389,93317,525,0001,030,0002,265,088
3Jan 15, 2025 01:035,81947,289,62517,588,0001,034,0002,289,664
4Jan 15, 2025 01:037,01749,026,92820,413,0002,041,0002,289,664
5Jan 15, 2025 01:037,05450,286,69821,546,0001,026,0002,277,376
6Jan 15, 2025 01:037,09049,140,53721,657,0001,031,0002,289,664