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 listMar 16, 2023 00:27Alexander MonakovAlexander MonakovScore: 5,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:275,16744,597,95315,501,0001,033,0002,449,408
2Mar 16, 2023 00:275,17029,259,48015,511,0001,034,0002,449,408
3Mar 16, 2023 00:275,17640,857,67415,528,0001,035,0002,281,472
4Mar 16, 2023 00:275,17838,568,04515,536,0001,035,0002,281,472
5Mar 16, 2023 00:275,19242,380,20015,576,0001,038,0002,281,472
6Mar 16, 2023 00:275,19531,967,39415,586,0001,039,0002,445,312
7Mar 16, 2023 00:275,19832,184,01015,596,0001,039,0002,281,472
8Mar 16, 2023 00:275,20142,148,24815,603,0001,040,0002,281,472
9Mar 16, 2023 00:275,21340,397,75315,641,0001,042,0002,285,568
10Mar 16, 2023 00:275,31178,589,92116,993,98502,199,552
11Mar 16, 2023 00:275,33680,802,73217,074,73602,256,896
12Mar 16, 2023 00:275,35776,871,53117,142,92002,211,840