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 listJan 15, 2024 07:53matsuoka-601matsuoka-601Score: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 07:535,46344,880,12516,452,0001,028,0002,285,568
2Jan 15, 2024 07:535,46740,371,96216,464,0001,029,0002,285,568
3Jan 15, 2024 07:535,47740,082,56616,495,0001,030,0002,285,568
4Jan 15, 2024 07:535,48133,017,46016,508,0001,031,0002,285,568
5Jan 15, 2024 07:535,48239,207,87616,511,0001,031,0002,396,160
6Jan 15, 2024 07:535,48341,260,68417,544,00002,285,568
7Jan 15, 2024 07:535,48838,337,05917,560,00002,269,184
8Jan 15, 2024 07:535,49044,419,57116,534,0001,033,0002,269,184
9Jan 15, 2024 07:535,49440,842,02816,546,0001,034,0002,285,568
10Jan 15, 2024 07:535,63687,256,59318,036,08602,297,856
11Jan 15, 2024 07:535,658106,562,05218,107,08102,301,952
12Jan 15, 2024 07:535,66290,513,02418,119,15102,310,144