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 28, 2021 21:42Egor SergeevEgor SergeevScore: 5,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 21:425,15341,391,88916,489,00002,502,656
2Jun 28, 2021 21:425,15934,199,37316,508,00002,277,376
3Jun 28, 2021 21:425,17332,002,41416,554,00002,494,464
4Jun 28, 2021 21:425,17638,341,61416,562,00002,494,464
5Jun 28, 2021 21:425,17831,541,01715,535,0001,035,0002,277,376
6Jun 28, 2021 21:425,18032,451,39116,575,00002,498,560
7Jun 28, 2021 21:425,18329,071,60616,585,00002,277,376
8Jun 28, 2021 21:425,20442,297,05316,653,00002,490,368
9Jun 28, 2021 21:425,21539,340,22215,707,000981,0002,277,376
10Jun 28, 2021 21:425,40467,040,26217,292,85502,240,512
11Jun 28, 2021 21:425,41370,752,46917,320,59402,260,992
12Jun 28, 2021 21:425,46066,718,68617,471,74402,248,704