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 23:31Alexander MonakovAlexander MonakovScore: 4,560Success
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 23:314,52436,615,91414,477,00002,277,376
2Mar 17, 2023 23:314,52631,567,92414,484,00002,277,376
3Mar 17, 2023 23:314,53827,643,30013,485,0001,037,0002,498,560
4Mar 17, 2023 23:314,54626,291,61014,546,00002,498,560
5Mar 17, 2023 23:314,54728,100,94014,551,00002,277,376
6Mar 17, 2023 23:314,55628,822,00514,578,00002,277,376
7Mar 17, 2023 23:314,56029,123,47214,592,00002,494,464
8Mar 17, 2023 23:314,57331,356,44613,587,0001,045,0002,494,464
9Mar 17, 2023 23:314,58629,233,16613,628,0001,048,0002,531,328
10Mar 17, 2023 23:314,77588,687,51215,279,28302,240,512
11Mar 17, 2023 23:314,788101,170,35115,321,53102,256,896
12Mar 17, 2023 23:314,79586,429,11115,343,59902,244,608