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 listJun 13, 2024 00:04джулисджулисScore: 5,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 00:045,30133,813,86714,969,0001,995,0002,367,488
2Jun 13, 2024 00:045,30141,430,69415,967,000997,0002,371,584
3Jun 13, 2024 00:045,30346,262,72914,972,0001,996,0002,293,760
4Jun 13, 2024 00:045,30348,056,17214,972,0001,996,0002,293,760
5Jun 13, 2024 00:045,31343,875,20216,002,0001,000,0002,379,776
6Jun 13, 2024 00:045,31542,636,19816,008,0001,000,0002,375,680
7Jun 13, 2024 00:045,31649,936,88816,011,0001,000,0002,289,664
8Jun 13, 2024 00:045,32846,949,90516,048,0001,003,0002,379,776
9Jun 13, 2024 00:045,34739,749,11515,097,0002,013,0002,285,568
10Jun 13, 2024 00:045,53992,099,90217,726,20302,240,512
11Jun 13, 2024 00:045,54767,707,85217,750,99702,232,320
12Jun 13, 2024 00:045,57371,991,30017,832,06402,375,680