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 17, 2023 22:04Alexander MonakovAlexander MonakovScore: 4,919Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:044,87143,821,85215,587,00002,494,464
2Mar 17, 2023 22:044,88230,125,91915,622,00002,277,376
3Mar 17, 2023 22:044,88845,335,31015,641,00002,498,560
4Mar 17, 2023 22:044,90041,574,38815,680,00002,277,376
5Mar 17, 2023 22:044,90635,105,50815,700,00002,502,656
6Mar 17, 2023 22:044,91232,314,72015,717,00002,498,560
7Mar 17, 2023 22:044,91940,348,17515,740,00002,277,376
8Mar 17, 2023 22:044,92633,782,87913,793,0001,970,0002,277,376
9Mar 17, 2023 22:044,96530,448,81314,896,000993,0002,535,424
10Mar 17, 2023 22:045,12775,747,76816,407,03202,236,416
11Mar 17, 2023 22:045,13086,102,29416,416,91402,248,704
12Mar 17, 2023 22:045,17887,596,87316,569,97902,236,416