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,402Success
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,37842,473,08615,185,0002,024,0002,265,088
2May 29, 2022 16:335,38041,471,91615,191,0002,025,0002,400,256
3May 29, 2022 16:335,38442,507,29816,215,0001,013,0002,265,088
4May 29, 2022 16:335,39042,164,72717,248,00002,265,088
5May 29, 2022 16:335,39638,345,60115,235,0002,031,0002,265,088
6May 29, 2022 16:335,40140,906,91316,266,0001,016,0002,265,088
7May 29, 2022 16:335,40233,973,18116,270,0001,016,0002,506,752
8May 29, 2022 16:335,40449,423,08916,277,0001,017,0002,523,136
9May 29, 2022 16:335,41341,339,93416,304,0001,019,0002,265,088
10May 29, 2022 16:335,57684,768,83917,841,60402,277,376
11May 29, 2022 16:335,58361,168,28517,864,16602,277,376
12May 29, 2022 16:335,59874,959,73717,914,66002,281,472