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 19, 2025 04:58Ian MckibbenIan MckibbenScore: 4,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 04:584,44126,836,02413,196,0001,015,0002,433,024
2Jan 19, 2025 04:584,46936,022,41713,279,0001,021,0002,531,328
3Jan 19, 2025 04:584,47335,066,97114,315,00002,437,120
4Jan 19, 2025 04:584,48931,980,90614,364,00002,428,928
5Jan 19, 2025 04:584,49427,311,95714,381,00002,510,848
6Jan 19, 2025 04:584,49931,196,54914,397,00002,531,328
7Jan 19, 2025 04:584,50235,104,57514,407,00002,269,184
8Jan 19, 2025 04:584,52233,893,24413,438,0001,033,0002,531,328
9Jan 19, 2025 04:584,60337,974,53314,728,00002,428,928