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 listApr 16, 2025 17:57Christian BernardChristian BernardScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 17:515,46440,293,63717,486,00002,392,064
2Apr 16, 2025 17:515,48338,252,61416,513,0001,032,0002,260,992
3Apr 16, 2025 17:515,49044,678,79516,535,0001,033,0002,383,872
4Apr 16, 2025 17:545,49545,454,37816,550,0001,034,0002,523,136
5Apr 16, 2025 17:515,49942,049,73016,563,0001,035,0002,387,968
6Apr 16, 2025 17:545,50443,529,24017,612,00002,392,064
7Apr 16, 2025 17:515,50843,515,26316,588,0001,036,0002,523,136
8Apr 16, 2025 17:475,50941,815,97817,630,00002,379,776
9Apr 16, 2025 17:475,51334,519,29416,604,0001,037,0002,387,968
10Apr 16, 2025 17:515,51447,962,65017,644,00002,387,968
11Apr 16, 2025 17:575,52544,698,76817,679,00002,260,992
12Apr 16, 2025 17:555,52543,636,96316,641,0001,040,0002,383,872
13Apr 16, 2025 17:515,53140,343,69917,698,00002,523,136
14Apr 16, 2025 17:475,53236,986,87416,660,0001,041,0002,523,136
15Apr 16, 2025 17:515,53544,466,26016,671,0001,041,0002,387,968
16Apr 16, 2025 17:555,53544,740,89617,712,00002,387,968
17Apr 16, 2025 17:545,53733,962,80817,717,00002,523,136
18Apr 16, 2025 17:515,54050,028,45216,687,0001,042,0002,519,040
19Apr 16, 2025 17:575,54232,331,01917,735,00002,383,872
20Apr 16, 2025 17:575,57343,873,37316,843,000990,0002,523,136
21Apr 16, 2025 17:555,58146,675,97716,868,000992,0002,523,136