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 28, 2021 14:34Yuriy LyfenkoYuriy LyfenkoScore: 5,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:335,01532,852,93815,045,0001,003,0002,510,848
2May 28, 2021 14:335,01742,984,09714,048,0002,006,0002,392,064
3May 28, 2021 14:335,01839,661,15314,052,0002,007,0002,506,752
4May 28, 2021 14:345,01940,475,46415,059,0001,003,0002,392,064
5May 28, 2021 07:295,01942,026,61415,059,0001,003,0002,265,088
6May 28, 2021 07:295,02140,209,16514,060,0002,008,0002,265,088
7May 28, 2021 07:295,02143,862,69115,064,0001,004,0002,265,088
8May 28, 2021 14:345,02141,274,22414,059,0002,008,0002,392,064
9May 28, 2021 14:345,02150,904,07614,059,0002,008,0002,265,088
10May 28, 2021 14:335,02634,098,68214,073,0002,010,0002,265,088
11May 28, 2021 14:335,02633,560,41214,072,0002,010,0002,396,160
12May 28, 2021 07:295,02840,749,33915,084,0001,005,0002,265,088
13May 28, 2021 14:345,03341,403,86315,098,0001,006,0002,392,064
14May 28, 2021 07:295,03442,290,64514,096,0002,013,0002,265,088
15May 28, 2021 14:335,03742,277,90915,110,0001,007,0002,265,088
16May 28, 2021 07:295,03839,855,29015,113,0001,007,0002,265,088
17May 28, 2021 14:335,04042,449,60515,120,0001,008,0002,527,232
18May 28, 2021 14:345,04148,008,50014,114,0002,016,0002,387,968
19May 28, 2021 14:335,04342,744,20615,129,0001,008,0002,396,160
20May 28, 2021 14:345,04345,691,78914,121,0002,017,0002,392,064
21May 28, 2021 14:345,04340,730,13015,129,0001,008,0002,387,968
22May 28, 2021 07:295,04646,154,52015,138,0001,009,0002,527,232
23May 28, 2021 07:295,05244,064,76815,155,0001,010,0002,527,232
24May 28, 2021 14:345,05940,619,79015,179,0001,011,0002,392,064
25May 28, 2021 14:335,06136,004,62115,184,0001,012,0002,265,088
26May 28, 2021 07:295,06344,793,78615,191,0001,012,0002,265,088
27May 28, 2021 14:345,06643,690,35214,186,0002,026,0002,527,232
28May 28, 2021 14:335,20656,000,33816,660,33702,277,376
29May 28, 2021 14:345,21348,482,19116,680,02102,285,568
30May 28, 2021 14:335,21968,603,15816,700,63802,285,568
31May 28, 2021 07:295,24541,829,09516,784,30502,277,376
32May 28, 2021 07:295,25662,402,67116,820,69802,277,376
33May 28, 2021 07:295,26378,654,20616,841,87802,273,280
34May 28, 2021 14:335,27151,763,98216,867,14802,265,088
35May 28, 2021 14:345,28088,236,43416,896,60902,277,376
36May 28, 2021 14:345,28255,220,96016,903,44202,285,568