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 11, 2024 01:59Yuriy LyfenkoYuriy LyfenkoScore: 4,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:594,399535,655,38612,066,0002,011,0002,273,280
2Aug 11, 2024 01:594,404535,568,01112,081,0002,013,0002,273,280
3Aug 11, 2024 01:594,422535,209,91312,129,0002,021,0002,273,280
4Aug 11, 2024 01:594,425532,990,92313,149,0001,011,0002,535,424
5Aug 11, 2024 01:594,427541,757,70112,143,0002,023,0002,535,424
6Aug 11, 2024 01:594,428539,458,42812,145,0002,024,0002,535,424
7Aug 11, 2024 01:594,434540,553,03212,162,0002,027,0002,535,424
8Aug 11, 2024 01:594,438536,717,27013,187,0001,014,0002,535,424
9Aug 11, 2024 01:594,448534,177,32213,216,0001,016,0002,453,504
10Aug 11, 2024 01:594,639581,941,29314,844,76002,326,528
11Aug 11, 2024 01:594,644577,028,11514,859,99302,338,816
12Aug 11, 2024 01:594,649570,988,49914,875,99102,330,624