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 listAug 6, 2024 15:16BenBenScore: 4,966Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 15:164,91039,080,96415,712,00002,277,376
2Aug 6, 2024 15:164,91138,713,88315,716,00002,490,368
3Aug 6, 2024 15:164,95632,376,29214,869,000991,0002,277,376
4Aug 6, 2024 15:164,95729,225,98214,870,000991,0002,498,560
5Aug 6, 2024 15:164,95731,646,34514,872,000991,0002,269,184
6Aug 6, 2024 15:164,95933,958,96614,878,000991,0002,494,464
7Aug 6, 2024 15:164,96634,199,35014,897,000993,0002,490,368
8Aug 6, 2024 15:164,97341,870,84314,918,000994,0002,277,376
9Aug 6, 2024 15:165,00334,382,12815,008,0001,000,0002,273,280
10Aug 6, 2024 15:165,18777,496,41916,598,99702,367,488
11Aug 6, 2024 15:165,22575,989,70016,720,51802,240,512
12Aug 6, 2024 15:165,27666,786,88716,882,22102,244,608