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 13, 2024 08:03matsuoka-601matsuoka-601Score: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:025,53644,916,47816,673,0001,042,0002,269,184
2Jan 13, 2024 08:025,54845,798,04015,783,0001,972,0002,277,376
3Jan 13, 2024 08:035,56841,359,72415,837,0001,979,0002,289,664
4Jan 13, 2024 08:035,57643,951,08015,862,0001,982,0002,289,664
5Jan 13, 2024 08:025,57850,041,68715,866,0001,983,0002,531,328
6Jan 13, 2024 08:025,57945,881,98615,869,0001,983,0002,289,664
7Jan 13, 2024 08:035,58146,603,40115,874,0001,984,0002,519,040
8Jan 13, 2024 08:025,58447,712,78315,884,0001,985,0002,269,184
9Jan 13, 2024 08:035,58443,525,30815,885,0001,985,0002,289,664
10Jan 13, 2024 08:025,58544,388,92215,887,0001,985,0002,281,472
11Jan 13, 2024 08:025,58647,093,68015,888,0001,986,0002,265,088
12Jan 13, 2024 08:025,58649,198,87115,888,0001,986,0002,289,664
13Jan 13, 2024 08:035,58748,308,85316,886,000993,0002,289,664
14Jan 13, 2024 08:025,58838,317,05316,888,000993,0002,265,088
15Jan 13, 2024 08:035,58947,112,36716,893,000993,0002,265,088
16Jan 13, 2024 08:035,60543,856,76115,944,0001,993,0002,355,200
17Jan 13, 2024 08:035,60646,392,45816,943,000996,0002,269,184
18Jan 13, 2024 08:035,61044,425,68015,958,0001,994,0002,269,184
19Jan 13, 2024 08:025,63581,521,81518,032,04702,301,952
20Jan 13, 2024 08:035,63973,582,68518,045,79102,179,072
21Jan 13, 2024 08:025,65885,674,34418,104,84002,297,856
22Jan 13, 2024 08:035,66091,093,29918,111,98402,306,048
23Jan 13, 2024 08:025,67792,569,58818,165,33702,301,952
24Jan 13, 2024 08:035,68084,863,73418,176,04702,301,952