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 15:10Yuriy LyfenkoYuriy LyfenkoScore: 5,465Success
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 15:105,41073,390,02816,352,000961,0002,400,256
2May 17, 2021 15:105,420360,126,53116,380,000963,0002,265,088
3May 17, 2021 15:105,422571,194,25517,350,00002,265,088
4May 17, 2021 15:105,430314,534,62414,480,0002,896,0002,269,184
5May 17, 2021 15:105,4322,606,444,53113,520,0003,863,0002,260,992
6May 17, 2021 15:105,4562,500,111,70615,520,0001,940,0002,527,232
7May 17, 2021 15:105,4652,962,533,33417,487,00002,527,232
8May 17, 2021 15:105,4714,314,546,81516,535,000972,0002,523,136
9May 17, 2021 15:105,4872,870,475,79515,608,0001,951,0002,265,088
10May 17, 2021 15:105,5563,332,050,59917,778,47502,277,376
11May 17, 2021 15:105,570934,950,59117,822,69502,281,472
12May 17, 2021 15:105,5823,364,462,55317,861,47902,277,376