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 listJul 14, 2024 11:10kytanskytansScore: 5,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:105,14845,209,25716,472,00002,494,464
2Jul 14, 2024 11:105,15633,747,32716,500,00002,490,368
3Jul 14, 2024 11:105,15728,441,09716,501,00002,490,368
4Jul 14, 2024 11:105,16540,040,29316,527,00002,494,464
5Jul 14, 2024 11:105,17132,685,01216,548,00002,277,376
6Jul 14, 2024 11:105,17237,082,46716,549,00002,494,464
7Jul 14, 2024 11:105,17436,166,44816,557,00002,494,464
8Jul 14, 2024 11:105,18442,582,71216,589,00002,277,376
9Jul 14, 2024 11:105,18443,663,00615,554,0001,036,0002,277,376
10Jul 14, 2024 11:105,43770,965,10217,397,52402,244,608
11Jul 14, 2024 11:105,44280,079,36917,413,13902,371,584
12Jul 14, 2024 11:105,443100,341,80917,417,04902,244,608