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:52Ian MckibbenIan MckibbenScore: 8,978Success
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:528,93053,722,50927,556,0001,020,0002,289,664
2Jan 9, 2025 20:508,94552,504,44927,602,0001,022,0002,281,472
3Jan 9, 2025 20:508,95058,211,16927,617,0001,022,0002,277,376
4Jan 9, 2025 20:528,97854,580,65627,705,0001,026,0002,277,376
5Jan 9, 2025 20:529,01659,472,65126,862,0001,989,0002,375,680
6Jan 9, 2025 20:509,02355,741,70926,882,0001,991,0002,523,136