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 listMay 17, 2021 04:40Yuriy LyfenkoYuriy LyfenkoScore: 5,426Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 04:405,36334,397,68015,144,0002,019,0002,265,088
2May 17, 2021 04:405,37844,182,88315,185,0002,024,0002,269,184
3May 17, 2021 04:405,39145,664,66815,221,0002,029,0002,387,968
4May 17, 2021 04:405,41241,222,59816,300,0001,018,0002,392,064
5May 17, 2021 04:405,41949,523,79916,320,0001,020,0002,383,872
6May 17, 2021 04:405,41938,546,53716,321,0001,020,0002,392,064
7May 17, 2021 04:405,42643,520,12617,364,00002,265,088
8May 17, 2021 04:405,43042,552,96316,353,0001,022,0002,396,160
9May 17, 2021 04:405,43247,831,33415,337,0002,044,0002,392,064
10May 17, 2021 04:405,67079,744,80218,142,52802,273,280
11May 17, 2021 04:405,67875,254,27518,169,76102,277,376
12May 17, 2021 04:405,70184,694,67318,244,18702,289,664