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 20:40джулисджулисScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:405,25845,171,21815,835,000989,0002,371,584
2Jun 9, 2024 19:495,26746,090,53614,872,0001,982,0002,293,760
3Jun 9, 2024 19:495,26942,677,59315,870,000991,0002,506,752
4Jun 9, 2024 19:495,27147,432,38814,882,0001,984,0002,363,392
5Jun 9, 2024 20:405,27244,293,23514,886,0001,984,0002,367,488
6Jun 9, 2024 19:495,27241,584,70215,877,000992,0002,375,680
7Jun 9, 2024 19:495,27344,985,67414,889,0001,985,0002,293,760
8Jun 9, 2024 19:495,27339,334,27514,888,0001,985,0002,293,760
9Jun 9, 2024 19:495,27342,688,00615,880,000992,0002,293,760
10Jun 9, 2024 20:405,27342,290,08515,881,000992,0002,375,680
11Jun 9, 2024 19:495,27441,231,97915,885,000992,0002,375,680
12Jun 9, 2024 20:405,27442,455,78014,891,0001,985,0002,293,760
13Jun 9, 2024 20:405,27432,631,82914,892,0001,985,0002,293,760
14Jun 9, 2024 20:405,27850,133,56815,898,000993,0002,293,760
15Jun 9, 2024 19:495,28244,808,60516,902,00002,379,776
16Jun 9, 2024 20:405,29042,868,84015,933,000995,0002,363,392
17Jun 9, 2024 20:405,29439,019,60214,947,0001,993,0002,293,760
18Jun 9, 2024 20:405,29837,585,72214,961,0001,994,0002,293,760
19Jun 9, 2024 20:405,48256,969,01817,543,18902,252,800
20Jun 9, 2024 19:495,50288,328,05817,606,36402,248,704
21Jun 9, 2024 19:495,51792,754,67217,655,85002,248,704
22Jun 9, 2024 20:405,53179,591,21417,700,55002,252,800
23Jun 9, 2024 19:495,54685,108,97017,745,66902,252,800
24Jun 9, 2024 20:405,66183,875,88518,113,89902,260,992