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 listOct 10, 2025 13:10Flavio MilinanniFlavio MilinanniScore: 3,045,161Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2025 13:102,959,3869,500,744,4809,431,055,00038,979,0002,523,136
2Oct 10, 2025 13:102,967,8469,523,909,9139,472,121,00024,987,0002,265,088
3Oct 10, 2025 13:102,973,4599,541,308,1909,477,088,00037,980,0002,277,376
4Oct 10, 2025 13:103,036,8609,751,657,9219,683,970,00033,982,0002,285,568
5Oct 10, 2025 13:103,045,1619,774,351,4239,708,533,00035,983,0002,277,376
6Oct 10, 2025 13:103,054,3749,808,550,2439,743,009,00030,987,0002,277,376
7Oct 10, 2025 13:103,061,0089,826,392,6529,763,238,00031,987,0002,277,376
8Oct 10, 2025 13:103,090,1889,917,073,0789,851,619,00036,983,0002,277,376
9Oct 10, 2025 13:103,112,3429,990,715,7569,920,516,00038,978,0002,269,184