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 listJul 24, 2024 01:44emily graceemily graceScore: 4,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:444,68341,101,27212,988,0001,998,0002,289,664
2Jul 24, 2024 01:444,68631,926,71312,996,0001,999,0002,289,664
3Jul 24, 2024 01:444,68931,785,46413,006,0002,000,0002,269,184
4Jul 24, 2024 01:444,70343,256,46413,045,0002,006,0002,289,664
5Jul 24, 2024 01:444,70541,546,61613,050,0002,007,0002,281,472
6Jul 24, 2024 01:444,70732,550,50813,055,0002,008,0002,289,664
7Jul 24, 2024 01:444,70732,060,76313,055,0002,008,0002,273,280
8Jul 24, 2024 01:444,72231,738,61313,095,0002,014,0002,281,472
9Jul 24, 2024 01:444,72538,783,37814,113,0001,008,0002,273,280
10Jul 24, 2024 01:444,94966,372,77715,838,18102,306,048
11Jul 24, 2024 01:444,95688,268,56215,858,89402,293,760
12Jul 24, 2024 01:444,95973,880,74915,867,29102,293,760