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 5, 2021 16:55evgenikwtevgenikwtScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 16:555,23245,405,35115,696,0001,046,0002,387,968
2Jun 5, 2021 16:555,26341,390,35914,861,0001,981,0002,392,064
3Jun 5, 2021 16:555,26842,810,95914,873,0001,983,0002,387,968
4Jun 5, 2021 16:555,26843,113,55115,868,000991,0002,387,968
5Jun 5, 2021 16:555,27034,080,54114,881,0001,984,0002,265,088
6Jun 5, 2021 16:555,27236,216,83415,877,000992,0002,265,088
7Jun 5, 2021 16:555,27341,338,62415,880,000992,0002,265,088
8Jun 5, 2021 16:555,28049,109,37715,903,000993,0002,383,872
9Jun 5, 2021 16:555,31142,954,44415,997,000999,0002,387,968
10Jun 5, 2021 16:555,45459,827,81817,453,19602,285,568
11Jun 5, 2021 16:555,48299,699,49517,543,76702,285,568
12Jun 5, 2021 16:555,49552,715,04017,582,73602,273,280