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 listSep 29, 2021 23:06Mikhail ShirokovMikhail ShirokovScore: 5,758Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 23:065,71545,725,41617,273,0001,016,0002,519,040
2Sep 29, 2021 23:065,71738,339,14417,277,0001,016,0002,519,040
3Sep 29, 2021 23:065,72340,877,04618,315,00002,383,872
4Sep 29, 2021 23:065,73045,090,95117,319,0001,018,0002,379,776
5Sep 29, 2021 23:065,73242,988,56317,323,0001,019,0002,519,040
6Sep 29, 2021 23:065,74440,781,43316,339,0002,042,0002,527,232
7Sep 29, 2021 23:065,75840,869,43816,380,0002,047,0002,510,848
8Sep 29, 2021 23:065,77043,402,02018,463,00002,396,160
9Sep 29, 2021 23:065,77445,146,56118,476,00002,396,160
10Sep 29, 2021 23:065,94972,096,79019,038,15902,277,376
11Sep 29, 2021 23:065,95795,143,92719,062,38502,281,472
12Sep 29, 2021 23:065,97693,983,42819,123,60502,306,048