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 listNov 4, 2023 13:10goon-goon-Score: 5,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 4, 2023 13:105,27047,411,88115,873,000992,0002,265,088
2Nov 4, 2023 13:105,27143,828,67015,874,000992,0002,265,088
3Nov 4, 2023 13:105,27448,494,40614,893,0001,985,0002,265,088
4Nov 4, 2023 13:105,27641,303,75214,897,0001,986,0002,269,184
5Nov 4, 2023 13:105,27939,151,72115,900,000993,0002,396,160
6Nov 4, 2023 13:105,28848,218,00315,926,000995,0002,265,088
7Nov 4, 2023 13:105,29335,250,63215,941,000996,0002,527,232
8Nov 4, 2023 13:105,29340,835,68115,942,000996,0002,527,232
9Nov 4, 2023 13:105,31437,625,47415,006,0002,000,0002,392,064
10Nov 4, 2023 13:105,51490,187,67817,643,66202,277,376
11Nov 4, 2023 13:105,53478,997,05017,710,34202,277,376
12Nov 4, 2023 13:105,53490,458,91617,710,36502,273,280