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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:245,207832,991,04215,683,000980,0002,265,088
2May 17, 2021 23:245,2283,313,491,32515,683,0001,045,0002,519,040
3May 17, 2021 23:245,233633,448,85314,775,0001,970,0002,260,992
4May 17, 2021 23:245,2392,945,243,56013,807,0002,958,0002,260,992
5May 17, 2021 23:245,2452,269,834,52315,798,000987,0002,523,136
6May 17, 2021 23:245,2632,138,196,72816,843,00002,523,136
7May 17, 2021 23:245,2782,361,759,60914,902,0001,986,0002,469,888
8May 17, 2021 23:245,2893,016,428,29114,934,0001,991,0002,523,136
9May 17, 2021 23:245,2923,015,066,47414,942,0001,992,0002,523,136
10May 17, 2021 23:245,4382,624,296,97517,402,65402,281,472
11May 17, 2021 23:245,451603,921,54917,441,63502,281,472
12May 17, 2021 23:245,4631,655,878,84517,482,31902,285,568