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 29, 2024 17:08Joad NacerJoad NacerScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:084,40728,751,63913,095,0001,007,0002,428,928
2Nov 29, 2024 17:084,42832,843,87612,145,0002,024,0002,531,328
3Nov 29, 2024 17:084,43730,909,21713,184,0001,014,0002,514,944
4Nov 29, 2024 17:084,44028,461,55012,179,0002,029,0002,531,328
5Nov 29, 2024 17:084,44536,152,08313,208,0001,016,0002,531,328
6Nov 29, 2024 17:084,44632,001,67613,210,0001,016,0002,433,024
7Nov 29, 2024 17:084,45033,357,70413,224,0001,017,0002,433,024
8Nov 29, 2024 17:084,45332,946,64313,231,0001,017,0002,428,928
9Nov 29, 2024 17:084,45730,089,86212,226,0002,037,0002,531,328
10Nov 29, 2024 17:084,46228,453,66613,258,0001,019,0002,531,328
11Nov 29, 2024 17:084,46334,845,54512,241,0002,040,0002,269,184
12Nov 29, 2024 17:084,46630,083,93513,271,0001,020,0002,424,832
13Nov 29, 2024 17:084,46935,365,80213,280,0001,021,0002,531,328
14Nov 29, 2024 17:084,47328,870,56612,270,0002,045,0002,433,024
15Nov 29, 2024 17:084,61838,657,42614,778,00002,433,024