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 23:26Yuriy LyfenkoYuriy LyfenkoScore: 5,473Success
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 23:265,4232,767,737,76015,427,0001,928,0002,527,232
2May 17, 2021 23:265,426458,928,02414,470,0002,894,0002,527,232
3May 17, 2021 23:265,4311,921,848,58216,357,0001,022,0002,519,040
4May 17, 2021 23:265,432684,050,64216,361,0001,022,0002,519,040
5May 17, 2021 23:265,4381,256,582,08417,402,00002,523,136
6May 17, 2021 23:265,44667,542,02315,491,0001,936,0002,392,064
7May 17, 2021 23:265,4472,397,291,56716,340,0001,089,0002,260,992
8May 17, 2021 23:265,4531,895,926,38215,397,0002,053,0002,260,992
9May 17, 2021 23:265,4582,796,219,53717,466,00002,527,232
10May 17, 2021 23:265,4621,638,524,81316,449,0001,028,0002,260,992
11May 17, 2021 23:265,46481,780,56816,456,0001,028,0002,265,088
12May 17, 2021 23:265,468949,305,86016,467,0001,029,0002,387,968
13May 17, 2021 23:265,4732,906,263,79515,452,0002,060,0002,265,088
14May 17, 2021 23:265,481751,571,26413,642,0003,897,0002,519,040
15May 17, 2021 23:265,483551,096,50214,621,0002,924,0002,383,872
16May 17, 2021 23:265,4882,500,265,89816,587,000975,0002,519,040
17May 17, 2021 23:265,5173,022,603,89914,711,0002,942,0002,523,136
18May 17, 2021 23:265,5273,044,299,30915,722,0001,965,0002,260,992
19May 17, 2021 23:265,6031,448,043,68817,930,00402,281,472
20May 17, 2021 23:265,6071,579,849,98217,941,02202,285,568
21May 17, 2021 23:265,6092,125,157,68717,950,15302,281,472
22May 17, 2021 23:265,6091,531,815,86217,947,75702,277,376
23May 17, 2021 23:265,6261,921,995,53018,002,40902,285,568
24May 17, 2021 23:265,6371,476,115,68818,039,34202,277,376