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 05:25Ian MckibbenIan MckibbenScore: 4,488Success
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 05:254,46033,544,41413,253,0001,019,0002,269,184
2Jan 19, 2025 05:254,46332,073,12712,242,0002,040,0002,437,120
3Jan 19, 2025 05:254,47229,888,06714,309,00002,269,184
4Jan 19, 2025 05:254,47832,825,70014,329,00002,420,736
5Jan 19, 2025 05:254,48831,971,45314,361,00002,437,120
6Jan 19, 2025 05:254,49030,153,70814,367,00002,531,328
7Jan 19, 2025 05:254,49127,234,66114,372,00002,437,120
8Jan 19, 2025 05:254,50137,495,19613,376,0001,028,0002,531,328
9Jan 19, 2025 05:254,53032,793,53614,497,00002,531,328