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 04:47Yuriy LyfenkoYuriy LyfenkoScore: 5,165Success
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 04:475,12841,862,05015,386,0001,025,0002,265,088
2May 30, 2021 04:475,13036,396,98815,391,0001,026,0002,379,776
3May 30, 2021 04:475,13236,407,79515,397,0001,026,0002,387,968
4May 30, 2021 04:475,14043,828,65315,421,0001,028,0002,265,088
5May 30, 2021 04:475,14937,549,03916,477,00002,527,232
6May 30, 2021 04:475,14937,263,69115,449,0001,029,0002,265,088
7May 30, 2021 04:475,16541,757,36115,495,0001,033,0002,387,968
8May 30, 2021 04:475,18138,152,05415,542,0001,036,0002,527,232
9May 30, 2021 04:475,18934,091,56015,568,0001,037,0002,486,272
10May 30, 2021 04:475,30657,586,43616,978,97002,273,280
11May 30, 2021 04:475,33179,498,34717,058,98402,265,088
12May 30, 2021 04:475,35098,209,79417,119,10402,269,184