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 listDec 21, 2025 03:02Ahmed MhedhbiAhmed MhedhbiScore: 4,484Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 03:024,46731,767,21812,253,0002,042,0002,379,776
2Dec 21, 2025 03:024,46835,321,66812,255,0002,042,0002,523,136
3Dec 21, 2025 03:024,47328,257,95113,290,0001,022,0002,523,136
4Dec 21, 2025 03:024,48230,469,22013,319,0001,024,0002,396,160
5Dec 21, 2025 03:024,48430,505,79014,350,00002,392,064
6Dec 21, 2025 03:024,48632,788,10814,356,00002,383,872
7Dec 21, 2025 03:024,50031,461,90713,371,0001,028,0002,387,968
8Dec 21, 2025 03:024,50934,035,81513,398,0001,030,0002,519,040
9Dec 21, 2025 03:024,52434,514,43813,442,0001,034,0002,523,136