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 18:16Alexander MonakovAlexander MonakovScore: 5,221Success
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 18:165,18433,247,29815,554,0001,036,0002,281,472
2Mar 16, 2023 18:165,18638,227,86615,559,0001,037,0002,273,280
3Mar 16, 2023 18:165,19238,634,87115,576,0001,038,0002,273,280
4Mar 16, 2023 18:165,19237,519,13515,577,0001,038,0002,265,088
5Mar 16, 2023 18:165,19342,092,63715,580,0001,038,0002,502,656
6Mar 16, 2023 18:165,21835,848,39115,654,0001,043,0002,523,136
7Mar 16, 2023 18:165,22132,858,28515,662,0001,044,0002,527,232
8Mar 16, 2023 18:165,22532,723,40015,676,0001,045,0002,265,088
9Mar 16, 2023 18:165,23136,309,60115,692,0001,046,0002,273,280
10Mar 16, 2023 18:165,41674,349,77117,331,65702,244,608
11Mar 16, 2023 18:165,41994,131,03617,341,44602,236,416
12Mar 16, 2023 18:165,42880,017,43817,368,99202,240,512