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 3, 2021 20:54Yuriy LyfenkoYuriy LyfenkoScore: 5,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 20:544,987539,767,62913,963,0001,994,0002,285,568
2Jun 3, 2021 20:534,988541,185,43213,966,0001,995,0002,277,376
3Jun 3, 2021 20:544,996539,632,71413,990,0001,998,0002,277,376
4Jun 3, 2021 20:534,998540,508,04514,993,000999,0002,277,376
5Jun 3, 2021 20:535,002537,671,59415,007,0001,000,0002,408,448
6Jun 3, 2021 20:545,008542,100,22015,024,0001,001,0002,277,376
7Jun 3, 2021 20:535,008550,018,50715,026,0001,001,0002,277,376
8Jun 3, 2021 20:545,012537,693,28315,035,0001,002,0002,277,376
9Jun 3, 2021 20:535,016548,898,85315,049,0001,003,0002,277,376
10Jun 3, 2021 20:545,019541,576,56714,054,0002,007,0002,277,376
11Jun 3, 2021 20:535,019538,630,31914,055,0002,007,0002,277,376
12Jun 3, 2021 20:535,022539,418,40514,062,0002,008,0002,277,376
13Jun 3, 2021 20:545,023540,226,85114,066,0002,009,0002,277,376
14Jun 3, 2021 20:545,029539,559,90614,081,0002,011,0002,277,376
15Jun 3, 2021 20:545,029537,721,66915,088,0001,005,0002,277,376
16Jun 3, 2021 20:535,031542,747,57515,094,0001,006,0002,277,376
17Jun 3, 2021 20:545,042540,637,39015,125,0001,008,0002,277,376
18Jun 3, 2021 20:535,062540,569,04314,173,0002,024,0002,277,376
19Jun 3, 2021 20:535,141594,952,09316,451,43602,289,664
20Jun 3, 2021 20:545,144578,425,96016,460,51102,285,568
21Jun 3, 2021 20:545,151578,380,61116,482,31802,260,992
22Jun 3, 2021 20:535,152572,133,35416,487,24202,297,856
23Jun 3, 2021 20:545,182568,838,39816,582,06602,289,664
24Jun 3, 2021 20:535,185571,421,62416,591,76502,293,760