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:38BenBenScore: 4,673Success
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:384,62229,558,76013,804,000986,0002,482,176
2Aug 6, 2024 15:384,63626,924,39912,858,0001,978,0002,535,424
3Aug 6, 2024 15:384,64838,724,55313,883,000991,0002,498,560
4Aug 6, 2024 15:384,64940,892,96414,877,00002,486,272
5Aug 6, 2024 15:384,65434,122,91714,892,00002,494,464
6Aug 6, 2024 15:384,65530,159,33513,903,000993,0002,486,272
7Aug 6, 2024 15:384,67330,701,23513,956,000996,0002,277,376
8Aug 6, 2024 15:384,68434,154,25113,991,000999,0002,498,560
9Aug 6, 2024 15:384,69329,890,35514,017,0001,001,0002,490,368
10Aug 6, 2024 15:384,95467,986,34315,852,74402,240,512
11Aug 6, 2024 15:384,97766,936,48215,926,81702,236,416
12Aug 6, 2024 15:385,06779,997,60016,212,94802,355,200