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 16:47Yuriy LyfenkoYuriy LyfenkoScore: 5,079Success
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 16:475,03130,547,64114,087,0002,012,0002,387,968
2May 27, 2021 16:475,03949,389,07614,111,0002,015,0002,527,232
3May 27, 2021 16:455,04044,269,26114,113,0002,016,0002,392,064
4May 27, 2021 16:455,04144,315,37014,115,0002,016,0002,396,160
5May 27, 2021 16:455,05142,194,06015,152,0001,010,0002,396,160
6May 27, 2021 16:455,05339,122,69615,161,0001,010,0002,265,088
7May 27, 2021 16:455,05438,887,73214,152,0002,021,0002,527,232
8May 27, 2021 16:455,05737,081,22014,159,0002,022,0002,269,184
9May 27, 2021 16:475,05731,712,25914,160,0002,022,0002,265,088
10May 27, 2021 16:475,06235,292,96315,185,0001,012,0002,265,088
11May 27, 2021 16:475,07135,389,85114,200,0002,028,0002,396,160
12May 27, 2021 16:475,07737,454,38114,216,0002,030,0002,265,088
13May 27, 2021 16:455,07934,110,98214,221,0002,031,0002,265,088
14May 27, 2021 16:475,09035,112,35615,271,0001,018,0002,265,088
15May 27, 2021 16:455,09842,782,91815,293,0001,019,0002,392,064
16May 27, 2021 16:475,10036,736,04215,300,0001,020,0002,387,968
17May 27, 2021 16:475,11029,920,12015,330,0001,022,0002,265,088
18May 27, 2021 16:455,11834,046,49614,332,0002,047,0002,469,888
19May 27, 2021 16:475,23766,593,38316,759,11602,281,472
20May 27, 2021 16:455,24588,382,74216,784,40302,277,376
21May 27, 2021 16:455,25248,527,50116,806,35702,285,568
22May 27, 2021 16:475,25440,214,71016,814,27902,269,184
23May 27, 2021 16:455,27347,247,14216,873,00502,277,376
24May 27, 2021 16:475,41671,618,75817,330,12102,277,376