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 21:55Alexander MonakovAlexander MonakovScore: 4,707Success
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 21:554,65835,560,22014,904,00002,531,328
2Mar 17, 2023 21:554,66134,621,76613,922,000994,0002,494,464
3Mar 17, 2023 21:554,66729,447,06312,943,0001,991,0002,486,272
4Mar 17, 2023 21:554,66842,018,37613,943,000995,0002,531,328
5Mar 17, 2023 21:554,67231,420,97013,955,000996,0002,269,184
6Mar 17, 2023 21:554,69639,978,69814,027,0001,001,0002,531,328
7Mar 17, 2023 21:554,70732,631,89612,050,0003,012,0002,269,184
8Mar 17, 2023 21:554,71040,363,86613,063,0002,009,0002,269,184
9Mar 17, 2023 21:554,71433,913,72214,080,0001,005,0002,486,272
10Mar 17, 2023 21:554,91193,122,66315,715,77402,236,416
11Mar 17, 2023 21:554,91590,708,35915,727,50002,248,704
12Mar 17, 2023 21:554,93271,472,75915,783,69702,240,512