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 listMay 29, 2022 16:33Keichi TakahashiKeichi TakahashiScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:335,37346,826,44716,184,0001,011,0002,265,088
2May 29, 2022 16:335,37444,438,93916,186,0001,011,0002,392,064
3May 29, 2022 16:335,37541,673,36616,190,0001,011,0002,379,776
4May 29, 2022 16:335,38733,887,31115,211,0002,028,0002,265,088
5May 29, 2022 16:335,39044,838,73116,235,0001,014,0002,265,088
6May 29, 2022 16:335,39342,412,67115,227,0002,030,0002,387,968
7May 29, 2022 16:335,39342,467,20315,228,0002,030,0002,396,160
8May 29, 2022 16:335,39348,110,34915,228,0002,030,0002,392,064
9May 29, 2022 16:335,43040,787,60915,333,0002,044,0002,498,560
10May 29, 2022 16:335,56789,973,62617,815,45002,281,472
11May 29, 2022 16:335,59391,625,89617,898,95902,277,376
12May 29, 2022 16:335,59572,571,13417,904,52102,281,472