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 7, 2022 03:28Yuriy LyfenkoYuriy LyfenkoScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 03:284,388539,679,52212,036,0002,006,0002,260,992
2Sep 7, 2022 03:284,422547,211,21412,129,0002,021,0002,265,088
3Sep 7, 2022 03:284,431541,129,76613,167,0001,012,0002,523,136
4Sep 7, 2022 03:284,432540,969,21613,170,0001,013,0002,265,088
5Sep 7, 2022 03:284,436539,391,24213,181,0001,013,0002,523,136
6Sep 7, 2022 03:284,450539,376,23413,222,0001,017,0002,265,088
7Sep 7, 2022 03:284,457536,266,18113,244,0001,018,0002,523,136
8Sep 7, 2022 03:284,463541,934,45813,261,0001,020,0002,392,064
9Sep 7, 2022 03:284,478540,778,94412,283,0002,047,0002,260,992
10Sep 7, 2022 03:284,594582,646,50414,701,59402,240,512
11Sep 7, 2022 03:284,609590,223,73314,748,31702,240,512
12Sep 7, 2022 03:284,614574,465,67214,766,08202,277,376