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 12, 2024 23:24джулисджулисScore: 5,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:245,42338,128,85916,332,0001,020,0002,371,584
2Jun 12, 2024 23:245,42640,065,81616,342,0001,021,0002,359,296
3Jun 12, 2024 23:245,44034,736,43917,408,00002,363,392
4Jun 12, 2024 23:245,44143,388,35917,411,00002,375,680
5Jun 12, 2024 23:245,44248,800,11617,415,00002,293,760
6Jun 12, 2024 23:245,44640,920,89616,402,0001,025,0002,371,584
7Jun 12, 2024 23:245,45433,198,04517,454,00002,469,888
8Jun 12, 2024 23:245,46439,340,06516,458,0001,028,0002,371,584
9Jun 12, 2024 23:245,47437,339,05417,516,00002,371,584
10Jun 12, 2024 23:245,69891,858,71918,232,16902,252,800
11Jun 12, 2024 23:245,70992,062,76118,267,64402,248,704
12Jun 12, 2024 23:245,74873,451,87918,394,40902,256,896