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 18, 2021 13:38Yuriy LyfenkoYuriy LyfenkoScore: 5,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:385,4092,502,292,18416,291,0001,018,0002,527,232
2May 18, 2021 13:385,4181,127,478,72416,317,0001,019,0002,269,184
3May 18, 2021 13:385,4432,588,002,60514,516,0002,903,0002,527,232
4May 18, 2021 13:385,447971,484,78515,495,0001,936,0002,269,184
5May 18, 2021 13:385,4592,558,430,47816,499,000970,0002,265,088
6May 18, 2021 13:385,4601,697,553,64016,501,000970,0002,265,088
7May 18, 2021 13:385,4602,059,219,48215,531,0001,941,0002,527,232
8May 18, 2021 13:385,4712,969,304,72416,478,0001,029,0002,269,184
9May 18, 2021 13:385,4961,556,990,67316,610,000977,0002,265,088
10May 18, 2021 13:385,5591,490,825,32817,787,60602,273,280
11May 18, 2021 13:385,572691,295,29817,830,44702,281,472
12May 18, 2021 13:385,5881,063,532,84117,881,52102,277,376