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 21:29Andrey TsvetkovAndrey TsvetkovScore: 5,601Success
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 21:295,53437,427,55616,668,0001,041,0002,498,560
2Sep 29, 2021 21:295,54842,099,21416,710,0001,044,0002,342,912
3Sep 29, 2021 21:295,58645,603,10115,889,0001,986,0002,490,368
4Sep 29, 2021 21:295,59338,900,75516,903,000994,0002,498,560
5Sep 29, 2021 21:295,59344,676,79916,903,000994,0002,502,656
6Sep 29, 2021 21:295,59540,512,52017,905,00002,490,368
7Sep 29, 2021 21:295,60143,346,02616,929,000995,0002,342,912
8Sep 29, 2021 21:295,64072,313,76218,048,06002,199,552
9Sep 29, 2021 21:295,64745,359,74217,067,0001,003,0002,498,560
10Sep 29, 2021 21:295,65071,837,58018,080,21402,195,456
11Sep 29, 2021 21:295,66446,098,93717,118,0001,006,0002,342,912
12Sep 29, 2021 21:295,66880,201,33518,138,61702,195,456