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 26, 2022 11:57Keichi TakahashiKeichi TakahashiScore: 5,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 11:575,33834,400,58715,073,0002,009,0002,396,160
2May 26, 2022 11:575,35945,641,98315,131,0002,017,0002,265,088
3May 26, 2022 11:575,37445,204,28516,187,0001,011,0002,265,088
4May 26, 2022 11:575,38941,897,42516,231,0001,014,0002,265,088
5May 26, 2022 11:575,40130,587,89316,267,0001,016,0002,379,776
6May 26, 2022 11:575,40137,218,28816,268,0001,016,0002,392,064
7May 26, 2022 11:575,40632,896,48216,281,0001,017,0002,506,752
8May 26, 2022 11:575,40842,113,60016,289,0001,018,0002,265,088
9May 26, 2022 11:575,40948,901,12215,273,0002,036,0002,265,088
10May 26, 2022 11:575,58398,178,22417,866,65202,277,376
11May 26, 2022 11:575,590102,584,26917,887,93302,289,664
12May 26, 2022 11:575,61264,085,01517,959,31502,289,664