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 15, 2024 17:47ii14ii14Score: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 23:285,64234,830,06515,045,0003,009,0002,519,040
2Jun 15, 2024 17:475,64451,410,87216,054,0002,006,0002,523,136
3Jun 15, 2024 17:475,64444,923,04516,055,0002,006,0002,383,872
4Jun 15, 2024 17:475,64744,356,65616,062,0002,007,0002,392,064
5Dec 23, 2024 23:285,64847,188,50917,068,0001,004,0002,519,040
6Jun 15, 2024 17:475,65335,170,67015,076,0003,015,0002,519,040
7Jun 15, 2024 17:475,65440,442,31117,087,0001,005,0002,519,040
8Jun 15, 2024 17:475,67344,230,89515,129,0003,025,0002,519,040
9Jun 15, 2024 17:475,67833,652,12716,151,0002,018,0002,392,064
10Dec 23, 2024 23:285,68844,267,96616,179,0002,022,0002,519,040
11Jun 15, 2024 17:475,69136,663,92717,199,0001,011,0002,519,040
12Jun 15, 2024 17:475,69848,668,39215,196,0003,039,0002,519,040
13Jun 15, 2024 17:475,94291,694,07219,013,71802,285,568
14Jun 15, 2024 17:475,94399,671,74419,017,97102,289,664
15Jun 15, 2024 17:475,98388,691,88319,145,45302,277,376