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 21, 2021 18:49Dmitry DolgopolovDmitry DolgopolovScore: 5,273Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 18:495,26940,923,01615,871,000991,0002,392,064
2May 21, 2021 18:495,27039,634,13515,872,000992,0002,383,872
3May 21, 2021 18:495,27142,017,44214,883,0001,984,0002,387,968
4May 21, 2021 18:495,27246,656,87215,879,000992,0002,392,064
5May 21, 2021 18:495,27333,560,63915,880,000992,0002,269,184
6May 21, 2021 18:495,27345,853,56615,881,000992,0002,510,848
7May 21, 2021 18:495,27346,155,91415,881,000992,0002,265,088
8May 21, 2021 18:495,27350,155,48815,882,000992,0002,269,184
9May 21, 2021 18:495,29443,876,06015,944,000996,0002,265,088
10May 21, 2021 18:495,51482,030,21917,644,00402,269,184
11May 21, 2021 18:495,51485,929,18817,643,20102,273,280
12May 21, 2021 18:495,52070,938,24017,662,84502,269,184
13May 21, 2021 18:495,52455,388,74617,676,12702,277,376
14May 21, 2021 18:495,52678,544,12017,683,68102,281,472
15May 21, 2021 18:495,57386,409,14417,835,09702,277,376