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 2, 2021 15:55Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 15:5500000Error: died or killed
2Jun 2, 2021 15:555,03333,714,00115,101,0001,006,0002,265,088
3Jun 2, 2021 15:555,03447,515,68114,097,0002,013,0002,265,088
4Jun 2, 2021 15:555,04940,586,90314,139,0002,019,0002,265,088
5Jun 2, 2021 15:555,05335,513,48215,161,0001,010,0002,387,968
6Jun 2, 2021 15:555,06935,956,16514,195,0002,027,0002,265,088
7Jun 2, 2021 15:555,07247,528,80115,216,0001,014,0002,265,088
8Jun 2, 2021 15:555,08834,218,33114,248,0002,035,0002,265,088
9Jun 2, 2021 15:555,10442,729,23715,312,0001,020,0002,379,776
10Jun 2, 2021 15:555,10732,590,76614,299,0002,042,0002,387,968
11Jun 2, 2021 15:555,23770,904,17516,757,55702,277,376
12Jun 2, 2021 15:555,26380,714,91816,841,46202,277,376
13Jun 2, 2021 15:555,28058,962,79916,897,23702,273,280