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 listSep 7, 2022 02:26Yuriy LyfenkoYuriy LyfenkoScore: 4,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:264,399540,840,43212,067,0002,011,0002,527,232
2Sep 7, 2022 02:254,402543,903,73312,074,0002,012,0002,527,232
3Sep 7, 2022 02:254,404538,929,75812,081,0002,013,0002,527,232
4Sep 7, 2022 02:254,407540,941,96012,087,0002,014,0002,404,352
5Sep 7, 2022 02:264,411538,485,58412,099,0002,016,0002,265,088
6Sep 7, 2022 02:254,414536,831,92413,116,0001,008,0002,260,992
7Sep 7, 2022 02:264,418541,187,45812,118,0002,019,0002,265,088
8Sep 7, 2022 02:264,420539,904,97113,133,0001,010,0002,260,992
9Sep 7, 2022 02:254,425535,543,66114,159,00002,260,992
10Sep 7, 2022 02:264,429540,756,62212,149,0002,024,0002,523,136
11Sep 7, 2022 02:264,430545,717,06512,150,0002,025,0002,265,088
12Sep 7, 2022 02:264,434534,280,42212,162,0002,027,0002,260,992
13Sep 7, 2022 02:254,435538,837,60813,178,0001,013,0002,523,136
14Sep 7, 2022 02:264,439541,096,43712,177,0002,029,0002,260,992
15Sep 7, 2022 02:264,441537,069,42013,196,0001,015,0002,523,136
16Sep 7, 2022 02:264,443540,138,94012,187,0002,031,0002,260,992
17Sep 7, 2022 02:264,446536,568,25812,195,0002,032,0002,523,136
18Sep 7, 2022 02:264,449542,018,58014,236,00002,260,992
19Sep 7, 2022 02:264,452543,610,30913,229,0001,017,0002,523,136
20Sep 7, 2022 02:264,453540,974,03614,251,00002,387,968
21Sep 7, 2022 02:254,455537,844,80013,238,0001,018,0002,523,136
22Sep 7, 2022 02:254,456541,900,95514,260,00002,260,992
23Sep 7, 2022 02:264,457534,276,96713,244,0001,018,0002,523,136
24Sep 7, 2022 02:264,461536,969,00213,257,0001,019,0002,523,136
25Sep 7, 2022 02:254,463539,817,92114,283,00002,265,088
26Sep 7, 2022 02:264,465536,703,00313,268,0001,020,0002,265,088
27Sep 7, 2022 02:264,465537,926,40714,287,00002,265,088
28Sep 7, 2022 02:254,589576,497,58214,685,72802,281,472
29Sep 7, 2022 02:264,592581,595,06114,694,20402,277,376
30Sep 7, 2022 02:264,599583,079,02614,716,69302,277,376
31Sep 7, 2022 02:254,601579,255,26314,722,62102,285,568
32Sep 7, 2022 02:264,605573,093,29514,735,89302,273,280
33Sep 7, 2022 02:264,608577,449,74014,745,00502,277,376
34Sep 7, 2022 02:264,610571,019,41014,752,59602,273,280
35Sep 7, 2022 02:254,612576,742,02014,757,93002,240,512
36Sep 7, 2022 02:264,622564,875,55314,791,94102,265,088