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 12:16Keichi TakahashiKeichi TakahashiScore: 5,409Success
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 12:165,35634,848,57416,131,0001,008,0002,527,232
2May 30, 2022 12:165,36833,010,25315,158,0002,021,0002,392,064
3May 30, 2022 12:165,39947,327,29016,262,0001,016,0002,265,088
4May 30, 2022 12:165,40339,756,15916,273,0001,017,0002,265,088
5May 30, 2022 12:165,40645,426,32816,281,0001,017,0002,265,088
6May 30, 2022 12:165,40732,095,53216,285,0001,017,0002,265,088
7May 30, 2022 12:165,40938,695,18316,290,0001,018,0002,265,088
8May 30, 2022 12:165,41440,299,64716,305,0001,019,0002,392,064
9May 30, 2022 12:165,42747,494,30317,367,00002,387,968
10May 30, 2022 12:165,49279,933,52417,574,94902,269,184
11May 30, 2022 12:165,51569,114,47217,646,52502,285,568
12May 30, 2022 12:165,52489,388,58117,675,21602,273,280