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 listNov 27, 2024 16:51Hayden DonnellyHayden DonnellyScore: 47,088Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 16:5146,982180,973,295121,276,00029,066,0002,457,600
2Nov 27, 2024 16:5147,015175,288,789123,367,00027,080,0002,293,760
3Nov 27, 2024 16:5147,032177,606,632123,413,00027,090,0002,457,600
4Nov 27, 2024 16:5147,074175,968,646131,556,00019,080,0002,465,792
5Nov 27, 2024 16:5147,088179,315,322139,633,00011,050,0002,453,504
6Nov 27, 2024 16:5147,128179,401,136121,847,00028,963,0002,457,600
7Nov 27, 2024 16:5147,128177,764,701115,854,00034,956,0002,293,760
8Nov 27, 2024 16:5147,132180,811,779122,856,00027,967,0002,293,760
9Nov 27, 2024 16:5147,239183,933,799123,134,00028,030,0002,285,568