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 listSep 7, 2022 03:29Yuriy LyfenkoYuriy LyfenkoScore: 4,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 03:294,413540,443,69213,115,0001,008,0002,260,992
2Sep 7, 2022 03:294,421543,300,62112,126,0002,021,0002,260,992
3Sep 7, 2022 03:294,423537,738,33312,131,0002,021,0002,265,088
4Sep 7, 2022 03:294,424543,393,48812,135,0002,022,0002,260,992
5Sep 7, 2022 03:294,424538,888,70114,158,00002,265,088
6Sep 7, 2022 03:294,428542,716,23312,147,0002,024,0002,265,088
7Sep 7, 2022 03:294,433538,455,71613,173,0001,013,0002,523,136
8Sep 7, 2022 03:294,437534,955,44012,171,0002,028,0002,523,136
9Sep 7, 2022 03:294,440537,909,81514,207,00002,260,992
10Sep 7, 2022 03:294,612574,693,71214,758,62002,240,512
11Sep 7, 2022 03:294,615585,257,94114,766,67802,273,280
12Sep 7, 2022 03:294,621577,866,80914,786,49002,273,280