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 23, 2021 00:12Vladimir KuryakovVladimir KuryakovScore: 5,776Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 00:125,70242,896,72917,234,0001,013,0002,387,968
2May 23, 2021 00:125,71747,290,77214,230,0004,065,0002,392,064
3May 23, 2021 00:125,72540,405,41017,303,0001,017,0002,519,040
4May 23, 2021 00:125,72738,824,34117,308,0001,018,0002,519,040
5May 23, 2021 00:125,74145,624,95017,352,0001,020,0002,519,040
6May 23, 2021 00:125,74341,549,26918,379,00002,392,064
7May 23, 2021 00:125,77339,623,27217,449,0001,026,0002,400,256
8May 23, 2021 00:125,77644,065,08617,457,0001,026,0002,379,776
9May 23, 2021 00:125,77938,118,88818,494,00002,383,872
10May 23, 2021 00:126,00786,643,91319,223,88802,273,280
11May 23, 2021 00:126,04259,893,60619,335,98402,285,568
12May 23, 2021 00:126,04385,020,49219,336,98202,273,280
13May 23, 2021 00:126,04489,157,17719,341,65302,277,376
14May 23, 2021 00:126,04682,401,23719,347,47102,277,376
15May 23, 2021 00:126,04885,964,98619,354,14002,277,376