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 listApr 3, 2024 02:53Drew GarciaDrew GarciaScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 2, 2024 23:455,53737,328,53015,633,0002,084,0002,277,376
2Apr 3, 2024 02:535,54045,430,44116,687,0001,042,0002,277,376
3Apr 2, 2024 23:455,54548,023,60816,701,0001,043,0002,281,472
4Apr 3, 2024 02:535,57046,243,60216,834,000990,0002,281,472
5Apr 2, 2024 23:455,57656,604,03614,870,0002,974,0002,277,376
6Apr 2, 2024 23:455,57834,494,24915,868,0001,983,0002,281,472
7Apr 2, 2024 23:455,57842,182,93915,868,0001,983,0002,281,472
8Apr 2, 2024 23:455,57948,682,92516,863,000991,0002,273,280
9Apr 3, 2024 02:535,58243,003,75315,878,0001,984,0002,281,472
10Apr 3, 2024 02:535,58343,695,54015,880,0001,985,0002,281,472
11Apr 2, 2024 23:455,58550,968,31014,893,0002,978,0002,281,472
12Apr 3, 2024 02:535,58538,236,75014,893,0002,978,0002,281,472
13Apr 2, 2024 23:455,58640,474,34615,888,0001,986,0002,273,280
14Apr 2, 2024 23:455,58747,991,85015,893,0001,986,0002,281,472
15Apr 3, 2024 02:535,58948,578,67714,904,0002,980,0002,281,472
16Apr 3, 2024 02:535,59351,109,61315,908,0001,988,0002,281,472
17Apr 3, 2024 02:535,60044,914,03515,930,0001,991,0002,281,472
18Apr 3, 2024 02:535,60152,689,36015,932,0001,991,0002,281,472
19Apr 2, 2024 23:455,78493,469,07618,508,12702,195,456
20Apr 2, 2024 23:455,79297,510,83818,534,84602,183,168
21Apr 3, 2024 02:535,82388,049,79618,632,33502,306,048
22Apr 3, 2024 02:535,82487,382,81518,637,58302,293,760
23Apr 2, 2024 23:455,83080,940,82318,657,11702,179,072
24Apr 3, 2024 02:535,85386,646,47218,730,29602,179,072