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 27, 2021 22:13Yuriy LyfenkoYuriy LyfenkoScore: 5,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 22:135,02838,113,20714,078,0002,011,0002,392,064
2May 28, 2021 04:525,04437,658,25615,134,0001,008,0002,265,088
3May 27, 2021 22:135,04644,079,65915,139,0001,009,0002,396,160
4May 28, 2021 04:525,04743,980,02714,131,0002,018,0002,387,968
5May 28, 2021 04:525,05248,682,74514,145,0002,020,0002,396,160
6May 28, 2021 04:525,05336,202,94114,150,0002,021,0002,392,064
7May 27, 2021 22:135,05641,546,95915,169,0001,011,0002,527,232
8May 27, 2021 22:135,05834,507,16015,175,0001,011,0002,506,752
9May 28, 2021 04:525,05834,321,15515,174,0001,011,0002,265,088
10May 28, 2021 04:525,05848,793,43515,174,0001,011,0002,265,088
11May 28, 2021 04:525,06046,130,44815,181,0001,012,0002,383,872
12May 28, 2021 04:525,06240,886,71815,185,0001,012,0002,265,088
13May 27, 2021 22:135,06641,742,70916,212,00002,527,232
14May 27, 2021 22:135,06835,775,84815,204,0001,013,0002,265,088
15May 27, 2021 22:135,08433,237,97514,236,0002,033,0002,265,088
16May 27, 2021 22:135,08444,142,85915,254,0001,016,0002,265,088
17May 28, 2021 04:525,09041,924,71215,270,0001,018,0002,265,088
18May 27, 2021 22:135,09235,236,32315,275,0001,018,0002,387,968
19May 27, 2021 22:135,23675,601,94916,754,12602,285,568
20May 28, 2021 04:525,23740,045,69316,758,65402,248,704
21May 27, 2021 22:135,24761,473,12616,791,02802,273,280
22May 28, 2021 04:525,25467,416,23216,813,20202,281,472
23May 28, 2021 04:525,30070,736,33516,960,89102,277,376
24May 27, 2021 22:135,30758,572,81616,981,73302,273,280