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 listFeb 22, 2024 13:29Huy Duc LeHuy Duc LeScore: 4,815Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:294,76135,149,41814,220,0001,015,0002,289,664
2Feb 22, 2024 13:294,79836,316,03013,306,0002,047,0002,289,664
3Feb 22, 2024 13:294,79842,140,29615,354,00002,273,280
4Feb 22, 2024 13:294,79932,240,26314,333,0001,023,0002,269,184
5Feb 22, 2024 13:294,80438,231,04214,348,0001,024,0002,289,664
6Feb 22, 2024 13:294,80630,789,23813,330,0002,050,0002,289,664
7Feb 22, 2024 13:294,81536,152,14613,355,0002,054,0002,289,664
8Feb 22, 2024 13:294,84231,932,79314,461,0001,032,0002,265,088
9Feb 22, 2024 13:294,87633,864,69414,562,0001,040,0002,269,184
10Feb 22, 2024 13:295,01980,698,21616,061,44002,174,976
11Feb 22, 2024 13:295,02683,528,16116,083,91802,174,976
12Feb 22, 2024 13:295,03983,928,06916,123,90002,301,952