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 listJun 5, 2025 07:52thatmagicalcatthatmagicalcatScore: 2,975,865Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2025 07:522,956,7729,494,011,8249,435,681,00025,990,0002,277,376
2Jun 5, 2025 07:522,970,8099,536,733,8099,477,601,00028,989,0002,519,040
3Jun 5, 2025 07:522,972,8089,544,226,4129,483,000,00029,987,0002,277,376
4Jun 5, 2025 07:522,972,8639,540,144,0089,475,176,00037,984,0002,260,992
5Jun 5, 2025 07:522,975,8659,553,099,4429,498,777,00023,991,0002,277,376
6Jun 5, 2025 07:523,005,0449,642,144,1289,573,158,00042,982,0002,277,376
7Jun 5, 2025 07:523,008,3219,655,472,3829,591,646,00034,980,0002,277,376
8Jun 5, 2025 07:523,085,6479,903,734,6329,851,079,00022,990,0002,289,664
9Jun 5, 2025 07:523,217,66610,330,631,48510,256,549,00039,982,0002,277,376