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 listApr 18, 2024 19:24Robert BurkeRobert BurkeScore: 4,421Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:244,39936,082,06912,067,0002,011,0002,437,120
2Apr 18, 2024 19:244,41132,293,13212,099,0002,016,0002,457,600
3Apr 18, 2024 19:244,41238,707,93313,109,0001,008,0002,281,472
4Apr 18, 2024 19:244,41736,921,13712,114,0002,019,0002,281,472
5Apr 18, 2024 19:244,41827,354,01012,119,0002,019,0002,449,408
6Apr 18, 2024 19:244,42034,037,81512,123,0002,020,0002,281,472
7Apr 18, 2024 19:244,42126,327,89312,127,0002,021,0002,535,424
8Apr 18, 2024 19:244,42537,138,90812,137,0002,022,0002,281,472
9Apr 18, 2024 19:244,43435,328,69312,162,0002,027,0002,445,312
10Apr 18, 2024 19:244,70867,551,96415,066,77502,203,648
11Apr 18, 2024 19:244,72275,440,03415,109,13102,334,720
12Apr 18, 2024 19:244,73060,967,52115,136,55402,203,648