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 18:33Yuriy LyfenkoYuriy LyfenkoScore: 5,151Success
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 18:335,109538,920,26416,350,00002,408,448
2Jun 2, 2021 18:335,125538,690,86516,400,00002,273,280
3Jun 2, 2021 18:335,133540,304,46616,425,00002,273,280
4Jun 2, 2021 18:335,137539,487,99116,438,00002,273,280
5Jun 2, 2021 18:335,142539,260,00516,454,00002,281,472
6Jun 2, 2021 18:335,143544,312,47315,428,0001,028,0002,281,472
7Jun 2, 2021 18:335,151543,600,95815,453,0001,030,0002,273,280
8Jun 2, 2021 18:335,178544,746,66216,570,00002,269,184
9Jun 2, 2021 18:335,181545,122,09516,578,00002,269,184
10Jun 2, 2021 18:335,280571,995,59916,895,89402,285,568
11Jun 2, 2021 18:335,293585,543,22116,937,71402,285,568
12Jun 2, 2021 18:335,321578,773,66517,028,24902,285,568