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,345Success
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,32245,900,78015,027,0002,003,0002,396,160
2May 29, 2022 16:335,33143,043,97516,055,0001,003,0002,265,088
3May 29, 2022 16:335,33840,265,73216,076,0001,004,0002,392,064
4May 29, 2022 16:335,33941,239,39216,081,0001,005,0002,265,088
5May 29, 2022 16:335,34038,503,71215,077,0002,010,0002,265,088
6May 29, 2022 16:335,34242,526,35515,082,0002,011,0002,387,968
7May 29, 2022 16:335,34534,990,73915,091,0002,012,0002,383,872
8May 29, 2022 16:335,36142,549,00316,146,0001,009,0002,396,160
9May 29, 2022 16:335,36242,674,79216,148,0001,009,0002,383,872
10May 29, 2022 16:335,53174,056,01917,700,78202,277,376
11May 29, 2022 16:335,54493,416,80117,741,84002,273,280
12May 29, 2022 16:335,55176,691,12317,762,41902,285,568