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 28, 2024 08:23BenBenScore: 4,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:234,59142,255,26813,641,0001,049,0002,265,088
2Jul 28, 2024 08:234,59430,085,04614,702,00002,396,160
3Jul 28, 2024 08:234,60031,437,76413,668,0001,051,0002,383,872
4Jul 28, 2024 08:234,60032,760,49413,669,0001,051,0002,265,088
5Jul 28, 2024 08:234,60234,208,55812,763,0001,963,0002,396,160
6Jul 28, 2024 08:234,60730,405,21313,689,0001,053,0002,265,088
7Jul 28, 2024 08:234,61741,884,31112,804,0001,969,0002,400,256
8Jul 28, 2024 08:234,63940,660,69112,865,0001,979,0002,387,968
9Jul 28, 2024 08:234,64837,174,07613,882,000991,0002,265,088
10Jul 28, 2024 08:234,86271,343,95715,558,00402,281,472
11Jul 28, 2024 08:234,86294,335,80715,559,01202,289,664
12Jul 28, 2024 08:234,87186,137,95115,585,82502,281,472