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 3, 2022 17:50Sergey StreminSergey StreminScore: 5,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2022 17:505,27444,405,68915,885,000992,0002,392,064
2Aug 3, 2022 17:505,27445,340,51115,886,000992,0002,396,160
3Aug 3, 2022 17:505,27944,050,77115,899,000993,0002,400,256
4Aug 3, 2022 17:505,27943,717,05014,905,0001,987,0002,392,064
5Aug 3, 2022 17:505,28541,997,76015,918,000994,0002,392,064
6Aug 3, 2022 17:505,28945,842,47514,933,0001,991,0002,527,232
7Aug 3, 2022 17:505,29333,614,42115,943,000996,0002,506,752
8Aug 3, 2022 17:505,29637,547,71214,953,0001,993,0002,392,064
9Aug 3, 2022 17:505,30342,850,77414,975,0001,996,0002,400,256
10Aug 3, 2022 17:505,50965,493,42317,628,89102,285,568
11Aug 3, 2022 17:505,52473,116,39817,675,31902,289,664
12Aug 3, 2022 17:505,52961,320,10717,692,02202,277,376