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 listJul 22, 2022 21:59Robert BurkeRobert BurkeScore: 4,831Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:594,79133,362,22715,330,00002,273,280
2Jul 22, 2022 21:594,80033,573,01015,360,00002,535,424
3Jul 22, 2022 21:594,80335,002,41115,371,00002,535,424
4Jul 22, 2022 21:594,81832,341,68615,416,00002,433,024
5Jul 22, 2022 21:594,82838,422,00315,448,00002,428,928
6Jul 22, 2022 21:594,82834,974,96815,450,00002,535,424
7Jul 22, 2022 21:594,83134,363,24915,460,00002,273,280
8Jul 22, 2022 21:594,83234,403,20415,462,00002,535,424
9Jul 22, 2022 21:594,91132,922,47215,715,00002,428,928
10Jul 22, 2022 21:595,00072,791,50316,000,30202,191,360
11Jul 22, 2022 21:595,00585,608,43916,015,82502,191,360
12Jul 22, 2022 21:595,01696,938,55716,050,54302,183,168