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 listJan 19, 2024 08:17AnSaAnSaScore: 5,597Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 08:175,57643,489,91615,860,0001,982,0002,379,776
2Jan 19, 2024 08:175,57951,189,62815,871,0001,983,0002,453,504
3Jan 19, 2024 08:175,58146,134,18016,867,000992,0002,465,792
4Jan 19, 2024 08:175,58337,364,89716,873,000992,0002,371,584
5Jan 19, 2024 08:175,58947,988,75416,833,0001,052,0002,371,584
6Jan 19, 2024 08:175,59351,443,17815,910,0001,988,0002,457,600
7Jan 19, 2024 08:175,59748,074,61715,920,0001,990,0002,371,584
8Jan 19, 2024 08:175,60349,875,30515,936,0001,992,0002,457,600
9Jan 19, 2024 08:175,60845,301,38615,951,0001,993,0002,457,600
10Jan 19, 2024 08:175,78482,733,47318,510,13802,289,664
11Jan 19, 2024 08:175,81282,927,79818,597,06202,289,664
12Jan 19, 2024 08:175,84177,885,71518,690,78802,285,568