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 listOct 7, 2023 16:56Pavel ZagrebinPavel ZagrebinScore: 5,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:565,38342,817,67316,151,0001,076,0002,387,968
2Oct 7, 2023 16:565,38945,447,46515,217,0002,029,0002,519,040
3Oct 7, 2023 16:565,38932,743,94714,203,0003,043,0002,383,872
4Oct 7, 2023 16:565,39544,236,18915,233,0002,031,0002,387,968
5Oct 7, 2023 16:565,40337,469,91017,288,00002,519,040
6Oct 7, 2023 16:565,40343,415,01415,256,0002,034,0002,392,064
7Oct 7, 2023 16:565,40440,039,48417,292,00002,519,040
8Oct 7, 2023 16:565,41838,683,77715,297,0002,039,0002,387,968
9Oct 7, 2023 16:565,42240,061,42317,350,00002,387,968
10Oct 7, 2023 16:565,65979,002,69518,108,30402,289,664
11Oct 7, 2023 16:565,73374,395,54218,344,49602,289,664
12Oct 7, 2023 16:565,73570,981,29818,353,56902,285,568