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 29, 2024 17:07byrtoletbyrtoletScore: 6,531Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:216,07987,623,90419,452,25002,301,952
2Jul 29, 2024 17:076,09497,185,70719,499,49802,310,144
3Jul 29, 2024 17:216,11061,687,56719,552,87302,293,760
4Jul 29, 2024 17:076,12276,043,92919,591,36802,301,952
5Jul 29, 2024 17:216,130101,984,44119,615,71702,293,760
6Jul 29, 2024 17:076,159103,643,61619,707,50802,306,048
7Jul 29, 2024 17:076,46747,149,98519,659,0001,034,0002,289,664
8Jul 29, 2024 17:216,52555,907,67418,893,0001,988,0002,273,280
9Jul 29, 2024 17:216,52751,119,00818,898,0001,989,0002,289,664
10Jul 29, 2024 17:076,52752,027,16219,893,000994,0002,289,664
11Jul 29, 2024 17:216,52846,333,41318,899,0001,989,0002,265,088
12Jul 29, 2024 17:216,53046,322,41619,901,000995,0002,269,184
13Jul 29, 2024 17:076,53151,192,67720,898,00002,371,584
14Jul 29, 2024 17:216,53249,642,13518,911,0001,990,0002,289,664
15Jul 29, 2024 17:216,53545,541,21219,867,0001,045,0002,289,664
16Jul 29, 2024 17:076,53849,816,85319,876,0001,046,0002,289,664
17Jul 29, 2024 17:076,53844,150,96218,928,0001,992,0002,269,184
18Jul 29, 2024 17:076,55146,659,47219,966,000998,0002,289,664
19Jul 29, 2024 17:216,56343,724,21019,001,0002,000,0002,281,472
20Jul 29, 2024 17:076,56949,959,55119,019,0002,002,0002,273,280
21Jul 29, 2024 17:076,57043,182,53619,021,0002,002,0002,265,088
22Jul 29, 2024 17:216,57348,376,29719,031,0002,003,0002,277,376
23Jul 29, 2024 17:076,57448,355,43719,034,0002,003,0002,269,184
24Jul 29, 2024 17:216,58142,120,21719,054,0002,005,0002,265,088