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 listDec 24, 2021 23:47Alexander KimAlexander KimScore: 6,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 24, 2021 23:475,98648,833,15917,140,0002,016,0002,334,720
2Dec 24, 2021 23:475,99494,924,08719,182,25302,277,376
3Dec 24, 2021 23:475,99540,927,73018,175,0001,009,0002,306,048
4Dec 24, 2021 23:475,99840,859,56817,174,0002,020,0002,416,640
5Dec 24, 2021 23:476,00444,774,93318,201,0001,011,0002,301,952
6Dec 24, 2021 23:476,00644,863,84416,185,0003,034,0002,334,720
7Dec 24, 2021 23:476,01445,811,24515,193,0004,051,0002,301,952
8Dec 24, 2021 23:476,01540,975,03318,236,0001,013,0002,334,720
9Dec 24, 2021 23:476,02292,564,17719,269,20102,277,376
10Dec 24, 2021 23:476,03040,181,18318,282,0001,015,0002,334,720
11Dec 24, 2021 23:476,047104,020,60919,351,66802,265,088
12Dec 24, 2021 23:476,07335,410,89216,365,0003,068,0002,334,720