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:04Keichi TakahashiKeichi TakahashiScore: 5,426Success
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:045,39541,528,86116,250,0001,015,0002,392,064
2May 29, 2022 16:045,39644,413,34815,236,0002,031,0002,383,872
3May 29, 2022 16:045,39934,411,99115,246,0002,032,0002,265,088
4May 29, 2022 16:045,41742,002,41215,294,0002,039,0002,502,656
5May 29, 2022 16:045,41943,348,56817,340,00002,265,088
6May 29, 2022 16:045,42534,479,68115,319,0002,042,0002,392,064
7May 29, 2022 16:045,42644,975,20815,320,0002,042,0002,387,968
8May 29, 2022 16:045,43832,310,05216,378,0001,023,0002,527,232
9May 29, 2022 16:045,45634,574,31216,433,0001,027,0002,523,136
10May 29, 2022 16:045,49673,356,16317,588,05102,289,664
11May 29, 2022 16:045,50588,304,92917,615,93702,273,280
12May 29, 2022 16:045,52159,874,82217,666,86802,277,376