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 listJun 2, 2021 21:42Yuriy LyfenkoYuriy LyfenkoScore: 5,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 21:425,387678,963,82615,210,0002,028,0002,273,280
2Jun 2, 2021 21:425,389670,084,57014,659,0002,587,0002,273,280
3Jun 2, 2021 21:425,391666,432,47616,236,0001,014,0002,404,352
4Jun 2, 2021 21:425,397669,471,29217,269,00002,412,544
5Jun 2, 2021 21:425,399676,671,92416,317,000959,0002,273,280
6Jun 2, 2021 21:425,400677,277,74116,200,0001,080,0002,273,280
7Jun 2, 2021 21:425,404668,473,20016,430,000864,0002,273,280
8Jun 2, 2021 21:425,435674,170,31316,476,000915,0002,404,352
9Jun 2, 2021 21:425,442681,913,93817,415,00002,273,280
10Jun 2, 2021 21:425,767713,371,10518,453,81402,252,800
11Jun 2, 2021 21:425,770706,357,37518,463,87202,281,472
12Jun 2, 2021 21:425,770712,069,44818,465,20902,289,664