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 listNov 7, 2023 22:13Anılcan GülkayaAnılcan GülkayaScore: 5,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2023 22:135,64146,376,09617,048,0001,002,0002,506,752
2Nov 7, 2023 22:135,66237,009,99916,106,0002,013,0002,289,664
3Nov 7, 2023 22:135,66838,781,53517,129,0001,007,0002,289,664
4Nov 7, 2023 22:135,66842,595,18016,122,0002,015,0002,519,040
5Nov 7, 2023 22:135,67036,664,31716,128,0002,016,0002,510,848
6Nov 7, 2023 22:135,68136,297,57216,160,0002,020,0002,289,664
7Nov 7, 2023 22:135,68735,107,81916,176,0002,022,0002,289,664
8Nov 7, 2023 22:135,70241,362,34717,234,0001,013,0002,514,944
9Nov 7, 2023 22:135,71640,703,82717,274,0001,016,0002,510,848
10Nov 7, 2023 22:136,16598,628,96519,728,10302,273,280
11Nov 7, 2023 22:136,18381,572,19219,786,21102,269,184
12Nov 7, 2023 22:136,225107,741,51819,918,94502,269,184