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 30, 2022 13:21Keichi TakahashiKeichi TakahashiScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:215,29249,962,82214,943,0001,992,0002,265,088
2May 30, 2022 13:215,30051,100,83615,964,000997,0002,265,088
3May 30, 2022 13:215,31945,446,74815,020,0002,002,0002,527,232
4May 30, 2022 13:215,32432,750,79415,034,0002,004,0002,387,968
5May 30, 2022 13:215,32642,297,55315,037,0002,005,0002,383,872
6May 30, 2022 13:215,32732,797,97315,040,0002,005,0002,387,968
7May 30, 2022 13:215,33532,440,45716,069,0001,004,0002,396,160
8May 30, 2022 13:215,33844,962,65315,072,0002,009,0002,265,088
9May 30, 2022 13:215,33933,999,34716,081,0001,005,0002,265,088
10May 30, 2022 13:215,52282,782,64617,669,17202,281,472
11May 30, 2022 13:215,53983,733,66817,723,46902,289,664
12May 30, 2022 13:215,57880,965,42317,849,63802,277,376