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 28, 2021 21:47Yuriy LyfenkoYuriy LyfenkoScore: 5,122Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 21:475,06141,263,84914,171,0002,024,0002,523,136
2May 28, 2021 21:475,07834,786,87415,235,0001,015,0002,265,088
3May 28, 2021 21:475,08442,841,57814,237,0002,033,0002,265,088
4May 28, 2021 21:475,09331,994,46414,260,0002,037,0002,387,968
5May 28, 2021 21:475,10248,052,35414,285,0002,040,0002,392,064
6May 28, 2021 21:475,10740,655,84015,321,0001,021,0002,400,256
7May 28, 2021 21:475,12234,367,79515,365,0001,024,0002,396,160
8May 28, 2021 21:475,14839,452,52415,446,0001,029,0002,527,232
9May 28, 2021 21:475,15031,578,97416,480,00002,265,088
10May 28, 2021 21:475,28067,487,07816,895,82902,273,280
11May 28, 2021 21:475,29965,369,02216,956,31702,281,472
12May 28, 2021 21:475,30352,169,42516,970,31602,269,184