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 listMay 24, 2021 18:34Yuriy LyfenkoYuriy LyfenkoScore: 5,118Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:345,07633,366,89414,213,0002,030,0002,392,064
2May 24, 2021 18:345,08231,830,11216,261,00002,265,088
3May 24, 2021 18:345,09731,697,01315,292,0001,019,0002,392,064
4May 24, 2021 18:345,10435,500,05216,334,00002,265,088
5May 24, 2021 18:345,11747,094,80615,352,0001,023,0002,392,064
6May 24, 2021 18:345,11834,581,47515,354,0001,023,0002,265,088
7May 24, 2021 18:345,11833,716,33615,356,0001,023,0002,265,088
8May 24, 2021 18:345,12943,669,32816,414,00002,396,160
9May 24, 2021 18:345,13843,512,13015,415,0001,027,0002,400,256
10May 24, 2021 18:345,26944,117,06216,862,29402,277,376
11May 24, 2021 18:345,31666,610,82117,010,26702,285,568
12May 24, 2021 18:345,31867,562,05617,018,98802,285,568