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 17, 2024 03:45Joad NacerJoad NacerScore: 5,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:455,65044,142,26016,071,0002,008,0002,289,664
2Apr 17, 2024 03:455,65135,499,33116,075,0002,009,0002,285,568
3Apr 17, 2024 03:455,66441,814,51717,119,0001,007,0002,281,472
4Apr 17, 2024 03:455,66933,668,92517,134,0001,007,0002,383,872
5Apr 17, 2024 03:455,67541,276,42618,160,00002,289,664
6Apr 17, 2024 03:455,67841,665,71317,162,0001,009,0002,289,664
7Apr 17, 2024 03:455,67940,102,71016,153,0002,019,0002,289,664
8Apr 17, 2024 03:455,68547,518,06217,181,0001,010,0002,289,664
9Apr 17, 2024 03:455,69837,924,67216,208,0002,026,0002,289,664
10Apr 17, 2024 03:455,88498,074,57618,828,43102,301,952
11Apr 17, 2024 03:455,89898,667,68018,873,48602,297,856
12Apr 17, 2024 03:455,92578,086,23718,959,41102,301,952