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 listAug 7, 2024 01:06zielajzielajScore: 5,031Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:065,02131,693,43215,064,0001,004,0002,289,664
2Aug 7, 2024 01:065,02346,771,84715,068,0001,004,0002,265,088
3Aug 7, 2024 01:065,02342,538,79114,063,0002,009,0002,289,664
4Aug 7, 2024 01:065,02538,234,67914,071,0002,010,0002,400,256
5Aug 7, 2024 01:065,02842,292,79314,080,0002,011,0002,289,664
6Aug 7, 2024 01:065,03040,772,00414,085,0002,012,0002,289,664
7Aug 7, 2024 01:065,03144,664,28414,086,0002,012,0002,289,664
8Aug 7, 2024 01:065,03338,591,21715,098,0001,006,0002,269,184
9Aug 7, 2024 01:065,03831,062,97014,105,0002,015,0002,289,664
10Aug 7, 2024 01:065,25485,462,31516,812,53302,260,992
11Aug 7, 2024 01:065,26969,804,89716,860,80102,179,072
12Aug 7, 2024 01:065,30475,816,58816,974,19002,174,976