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 04:43Yuriy LyfenkoYuriy LyfenkoScore: 4,470Success
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 04:434,434544,032,46912,163,0002,027,0002,265,088
2Sep 7, 2022 04:434,452539,882,98414,246,00002,396,160
3Sep 7, 2022 04:434,457539,064,05012,224,0002,037,0002,523,136
4Sep 7, 2022 04:434,459535,527,90713,251,0001,019,0002,265,088
5Sep 7, 2022 04:434,465534,982,73814,289,00002,523,136
6Sep 7, 2022 04:434,468540,750,92713,278,0001,021,0002,265,088
7Sep 7, 2022 04:434,470536,035,43513,283,0001,021,0002,265,088
8Sep 7, 2022 04:434,472534,253,33114,309,00002,523,136
9Sep 7, 2022 04:434,473540,168,63213,292,0001,022,0002,523,136
10Sep 7, 2022 04:434,626614,935,71814,803,61302,244,608
11Sep 7, 2022 04:434,645564,957,66914,864,68502,244,608
12Sep 7, 2022 04:434,645577,653,58114,864,87602,269,184