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 2, 2024 15:14Christopher TarryChristopher TarryScore: 5,531Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 16:405,46932,453,62416,472,0001,029,0002,265,088
2May 2, 2024 15:145,48243,479,54516,510,0001,031,0002,527,232
3May 2, 2024 15:145,48339,609,27116,515,0001,032,0002,256,896
4Apr 5, 2024 00:145,48937,604,27916,532,0001,033,0002,383,872
5Apr 5, 2024 00:145,49840,690,55217,593,00002,387,968
6Apr 4, 2024 16:405,50138,413,95416,567,0001,035,0002,383,872
7Apr 5, 2024 00:145,50142,700,76516,569,0001,035,0002,265,088
8Apr 4, 2024 16:405,50343,530,75316,575,0001,035,0002,383,872
9Apr 5, 2024 00:145,50643,186,01216,582,0001,036,0002,265,088
10May 2, 2024 15:145,50745,169,31417,622,00002,387,968
11Apr 4, 2024 16:405,51344,828,18516,605,0001,037,0002,265,088
12Apr 4, 2024 16:405,51543,877,81016,609,0001,038,0002,265,088
13Apr 5, 2024 00:145,52445,681,76217,676,00002,265,088
14Apr 5, 2024 00:145,52442,718,70316,637,0001,039,0002,265,088
15May 2, 2024 15:145,52545,162,79217,680,00002,387,968
16Apr 5, 2024 00:145,52540,580,42417,679,00002,265,088
17Apr 4, 2024 16:405,52641,229,34616,642,0001,040,0002,265,088
18May 2, 2024 15:145,53142,752,02217,699,00002,387,968
19Apr 4, 2024 16:405,53146,267,45817,699,00002,265,088
20May 2, 2024 15:145,53544,719,38217,713,00002,387,968
21May 2, 2024 15:145,54447,107,90017,740,00002,392,064
22May 2, 2024 15:145,57837,480,98016,859,000991,0002,265,088
23Apr 5, 2024 00:145,57937,294,43917,854,00002,265,088
24Apr 5, 2024 00:145,58445,888,43215,883,0001,985,0002,490,368
25Apr 4, 2024 16:405,58846,102,48316,890,000993,0002,265,088
26May 2, 2024 15:145,58942,303,93517,884,00002,387,968
27Apr 4, 2024 16:405,59340,636,83616,904,000994,0002,527,232
28Apr 5, 2024 00:145,68577,169,46718,192,67002,281,472
29Apr 5, 2024 00:145,69988,757,56118,235,81502,285,568
30Apr 4, 2024 16:405,71684,817,35918,290,96302,244,608
31May 2, 2024 15:145,71972,554,58618,299,44902,289,664
32Apr 5, 2024 00:145,72795,271,88618,326,14802,244,608
33Apr 4, 2024 16:405,73181,396,83918,340,42202,289,664
34May 2, 2024 15:145,74977,408,70018,395,23502,285,568
35May 2, 2024 15:145,76273,703,36218,438,71502,289,664
36Apr 4, 2024 16:405,77197,189,24918,468,47402,285,568