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 3, 2024 04:30jeffplaisancejeffplaisanceScore: 4,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:304,49231,210,12014,374,00002,281,472
2Aug 3, 2024 04:304,49838,608,89613,364,0001,028,0002,404,352
3Aug 3, 2024 04:304,50330,874,65713,380,0001,029,0002,281,472
4Aug 3, 2024 04:304,51532,285,12014,449,00002,281,472
5Aug 3, 2024 04:304,52128,738,10113,433,0001,033,0002,281,472
6Aug 3, 2024 04:304,52432,775,28713,442,0001,034,0002,281,472
7Aug 3, 2024 04:304,52536,148,25214,481,00002,404,352
8Aug 3, 2024 04:304,52732,443,58013,453,0001,034,0002,404,352
9Aug 3, 2024 04:304,52834,700,85513,454,0001,034,0002,404,352
10Aug 3, 2024 04:304,72990,236,80215,134,19202,301,952
11Aug 3, 2024 04:304,75080,708,35315,198,54002,301,952
12Aug 3, 2024 04:304,79686,216,56415,347,66702,289,664