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 21, 2024 11:02Matt StuchlikMatt StuchlikScore: 4,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:024,90631,787,47014,653,0001,046,0002,531,328
2Jul 21, 2024 11:024,91632,646,63714,684,0001,048,0002,269,184
3Jul 21, 2024 11:024,95734,325,35614,870,000991,0002,289,664
4Jul 21, 2024 11:024,95736,250,69015,862,00002,289,664
5Jul 21, 2024 11:024,96041,808,76413,889,0001,984,0002,383,872
6Jul 21, 2024 11:024,96147,021,16615,875,00002,289,664
7Jul 21, 2024 11:024,96332,779,17213,897,0001,985,0002,273,280
8Jul 21, 2024 11:024,97939,340,67713,941,0001,991,0002,367,488
9Jul 21, 2024 11:024,99036,581,53013,973,0001,996,0002,531,328
10Jul 21, 2024 11:025,18180,597,81616,580,49602,297,856
11Jul 21, 2024 11:025,18780,375,09016,597,83602,281,472
12Jul 21, 2024 11:025,20484,299,56616,652,13402,289,664