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 listFeb 21, 2025 20:06Ian MckibbenIan MckibbenScore: 4,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2025 20:064,45435,916,36012,216,0002,036,0002,269,184
2Feb 21, 2025 20:064,46636,044,96113,271,0001,020,0002,531,328
3Feb 21, 2025 20:064,46631,375,58414,292,00002,424,832
4Feb 21, 2025 20:064,47531,731,86514,321,00002,428,928
5Feb 21, 2025 20:064,47632,492,49314,322,00002,531,328
6Feb 21, 2025 20:064,48332,705,52813,321,0001,024,0002,531,328
7Feb 21, 2025 20:064,48341,504,86313,323,0001,024,0002,424,832
8Feb 21, 2025 20:064,48429,218,02314,349,00002,433,024
9Feb 21, 2025 20:064,49334,878,39014,376,00002,531,328