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:49Keichi TakahashiKeichi TakahashiScore: 5,361Success
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:495,32845,042,20515,045,0002,006,0002,523,136
2May 30, 2022 13:495,33540,870,12216,067,0001,004,0002,519,040
3May 30, 2022 13:495,34541,337,87314,087,0003,018,0002,519,040
4May 30, 2022 13:495,35442,048,26816,125,0001,007,0002,519,040
5May 30, 2022 13:495,35739,529,58115,125,0002,016,0002,519,040
6May 30, 2022 13:495,36042,176,68114,125,0003,026,0002,392,064
7May 30, 2022 13:495,36131,810,64216,146,0001,009,0002,392,064
8May 30, 2022 13:495,36441,554,77615,147,0002,019,0002,519,040
9May 30, 2022 13:495,36646,562,78115,150,0002,020,0002,523,136
10May 30, 2022 13:495,56681,890,01817,811,71402,281,472
11May 30, 2022 13:495,56880,298,04617,818,25302,289,664
12May 30, 2022 13:495,60172,690,77917,922,15302,277,376