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 listApr 22, 2024 04:30Yuriy LyfenkoYuriy LyfenkoScore: 7,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 04:305,84585,114,84618,703,39002,285,568
2Apr 22, 2024 04:305,84690,186,92218,707,30502,293,760
3Apr 22, 2024 04:305,86886,553,74218,777,76102,289,664
4Apr 22, 2024 04:306,90550,337,90620,088,0002,008,0002,469,888
5Apr 22, 2024 04:307,09152,621,97321,661,0001,031,0002,560,000
6Apr 22, 2024 04:307,14149,636,49919,870,0002,980,0002,543,616
7Apr 22, 2024 04:307,14754,277,49420,882,0001,988,0002,473,984
8Apr 22, 2024 04:307,14948,363,23521,837,0001,039,0002,469,888
9Apr 22, 2024 04:307,15954,556,85919,920,0002,988,0002,560,000
10Apr 22, 2024 04:307,17351,076,80920,958,0001,996,0002,560,000
11Apr 22, 2024 04:307,19750,422,79320,027,0003,004,0002,297,856
12Apr 22, 2024 04:307,24652,773,49922,179,0001,008,0002,539,520