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 listJun 8, 2021 02:18evgenikwtevgenikwtScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 02:185,25943,256,06915,840,000990,0002,502,656
2Jun 8, 2021 02:185,26935,468,54115,870,000991,0002,265,088
3Jun 8, 2021 02:185,27043,784,68414,880,0001,984,0002,265,088
4Jun 8, 2021 02:185,27336,351,79714,888,0001,985,0002,265,088
5Jun 8, 2021 02:185,27342,555,22516,874,00002,265,088
6Jun 8, 2021 02:185,27441,660,38715,885,000992,0002,387,968
7Jun 8, 2021 02:185,28040,963,49214,909,0001,987,0002,510,848
8Jun 8, 2021 02:185,28843,178,21914,931,0001,990,0002,265,088
9Jun 8, 2021 02:185,30332,988,11414,975,0001,996,0002,265,088
10Jun 8, 2021 02:185,44779,645,29117,429,32002,265,088
11Jun 8, 2021 02:185,46775,026,90817,493,37202,281,472
12Jun 8, 2021 02:185,48481,696,46517,548,39402,285,568