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 23, 2021 17:37Yuriy LyfenkoYuriy LyfenkoScore: 5,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:375,89150,105,00318,852,00002,396,160
2May 23, 2021 17:375,89553,632,55616,880,0001,985,0002,265,088
3May 23, 2021 17:375,89936,149,05217,884,000993,0002,510,848
4May 23, 2021 17:375,90052,026,94017,888,000993,0002,269,184
5May 23, 2021 17:375,90144,603,90716,895,0001,987,0002,387,968
6May 23, 2021 17:375,90144,905,22317,890,000993,0002,265,088
7May 23, 2021 17:375,92048,323,09716,950,0001,994,0002,392,064
8May 23, 2021 17:375,92047,284,25716,951,0001,994,0002,265,088
9May 23, 2021 17:375,94452,066,60017,019,0002,002,0002,265,088
10May 23, 2021 17:376,09083,523,54819,488,29302,285,568
11May 23, 2021 17:376,10180,464,10619,523,11302,273,280
12May 23, 2021 17:376,14277,515,47219,655,34302,273,280