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 listJun 7, 2023 08:11Alexander MonakovAlexander MonakovScore: 4,554Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 08:114,50734,927,56614,421,00002,494,464
2Jun 7, 2023 08:114,50837,697,97414,426,00002,498,560
3Jun 7, 2023 08:114,52031,170,60014,465,00002,334,720
4Jun 7, 2023 08:114,52438,410,40214,478,00002,338,816
5Jun 7, 2023 08:114,52733,223,52613,453,0001,034,0002,334,720
6Jun 7, 2023 08:114,54234,962,87414,533,00002,338,816
7Jun 7, 2023 08:114,55435,115,94414,572,00002,338,816
8Jun 7, 2023 08:114,56037,192,41914,593,00002,502,656
9Jun 7, 2023 08:114,58051,690,19814,656,00002,502,656
10Jun 7, 2023 08:114,79975,607,54015,358,04602,211,840
11Jun 7, 2023 08:114,80077,455,69415,360,01802,207,744
12Jun 7, 2023 08:114,84865,550,10615,512,21902,211,840