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 17, 2021 03:28Yuriy LyfenkoYuriy LyfenkoScore: 5,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 03:285,364972,270,95915,259,0001,907,0002,265,088
2May 17, 2021 03:285,3784,934,210,07216,196,0001,012,0002,527,232
3May 17, 2021 03:285,3852,318,386,19115,205,0002,027,0002,265,088
4May 17, 2021 03:285,386111,197,19016,222,0001,013,0002,265,088
5May 17, 2021 03:285,3901,036,246,54816,234,0001,014,0002,269,184
6May 17, 2021 03:285,411833,678,83416,353,000961,0002,265,088
7May 17, 2021 03:285,4142,706,635,49516,307,0001,019,0002,527,232
8May 17, 2021 03:285,4152,917,001,01716,310,0001,019,0002,265,088
9May 17, 2021 03:285,417370,822,73315,409,0001,926,0002,387,968
10May 17, 2021 03:285,562814,792,93217,798,24602,277,376
11May 17, 2021 03:285,5743,370,460,04317,837,88302,277,376
12May 17, 2021 03:285,5902,952,536,77717,887,27602,277,376