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 9, 2024 13:49AndreyTSAndreyTSScore: 5,301Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:265,26842,923,19714,874,0001,983,0002,277,376
2Jun 9, 2024 13:495,27043,673,86115,873,000992,0002,289,664
3Jun 9, 2024 13:495,27345,604,28915,882,000992,0002,289,664
4Jun 9, 2024 13:495,27334,095,24815,882,000992,0002,285,568
5Jun 8, 2024 19:265,27433,479,08315,885,000992,0002,289,664
6Jun 9, 2024 13:495,27844,322,92415,897,000993,0002,265,088
7Jun 8, 2024 19:265,28233,805,38614,914,0001,988,0002,269,184
8Jun 8, 2024 19:265,28239,507,24815,909,000994,0002,289,664
9Jun 8, 2024 19:265,28834,494,28714,931,0001,990,0002,289,664
10Jun 8, 2024 19:265,28939,519,54815,869,0001,057,0002,289,664
11Jun 9, 2024 13:495,30033,431,92514,965,0001,995,0002,289,664
12Jun 9, 2024 13:495,30137,488,05414,967,0001,995,0002,269,184
13Jun 9, 2024 13:495,30139,616,81514,967,0001,995,0002,289,664
14Jun 8, 2024 19:265,30535,638,98714,980,0001,997,0002,359,296
15Jun 9, 2024 13:495,30841,991,28615,987,000999,0002,527,232
16Jun 9, 2024 13:495,31434,362,55415,004,0002,000,0002,273,280
17Jun 8, 2024 19:265,31444,041,75615,005,0002,000,0002,273,280
18Jun 8, 2024 19:265,32139,940,25115,023,0002,003,0002,289,664
19Jun 9, 2024 13:495,46953,375,56817,501,22302,297,856
20Jun 9, 2024 13:495,47778,000,45017,525,53602,297,856
21Jun 8, 2024 19:265,49092,518,45217,568,31802,297,856
22Jun 9, 2024 13:495,51378,175,72117,640,04302,306,048
23Jun 8, 2024 19:265,51596,022,85317,647,19202,306,048
24Jun 8, 2024 19:265,53791,152,11117,717,74402,297,856