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 listJul 6, 2021 00:34Yuriy LyfenkoYuriy LyfenkoScore: 5,178Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:345,1371,042,084,59615,410,0001,027,0002,523,136
2Jul 6, 2021 00:345,1491,040,452,33616,476,00002,523,136
3Jul 6, 2021 00:345,1501,038,954,54715,450,0001,030,0002,523,136
4Jul 6, 2021 00:345,1611,036,949,21616,515,00002,387,968
5Jul 6, 2021 00:345,1641,038,074,34316,525,00002,265,088
6Jul 6, 2021 00:345,1731,046,388,06016,555,00002,523,136
7Jul 6, 2021 00:345,1781,041,606,48916,570,00002,260,992
8Jul 6, 2021 00:345,1911,044,000,72815,573,0001,038,0002,527,232
9Jul 6, 2021 00:345,1941,043,297,49715,582,0001,038,0002,523,136
10Jul 6, 2021 00:345,2941,068,731,83616,939,96802,281,472
11Jul 6, 2021 00:345,3081,075,304,77316,986,74102,240,512
12Jul 6, 2021 00:345,3341,089,073,24817,070,25802,273,280