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 30, 2021 17:36Yuriy LyfenkoYuriy LyfenkoScore: 5,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:365,02633,442,11914,074,0002,010,0002,408,448
2May 30, 2021 17:365,03232,249,21414,089,0002,012,0002,408,448
3May 30, 2021 17:365,03831,942,98115,115,0001,007,0002,281,472
4May 30, 2021 17:365,03835,013,05314,108,0002,015,0002,273,280
5May 30, 2021 17:365,04640,042,57314,130,0002,018,0002,281,472
6May 30, 2021 17:365,05539,683,82916,175,00002,281,472
7May 30, 2021 17:365,05832,813,37115,174,0001,011,0002,281,472
8May 30, 2021 17:365,06938,629,35714,193,0002,027,0002,281,472
9May 30, 2021 17:365,08439,865,61915,253,0001,016,0002,281,472
10May 30, 2021 17:365,21671,618,70716,691,55702,297,856
11May 30, 2021 17:365,21985,675,16216,699,75602,293,760
12May 30, 2021 17:365,24082,135,20416,768,98602,289,664