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 17:10Yuriy LyfenkoYuriy LyfenkoScore: 5,088Success
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 17:105,04643,651,77214,130,0002,018,0002,392,064
2May 27, 2021 17:145,05339,589,02914,148,0002,021,0002,396,160
3May 27, 2021 18:185,05643,744,79714,156,0002,022,0002,396,160
4May 27, 2021 18:185,05940,798,63014,166,0002,023,0002,265,088
5May 27, 2021 17:105,05932,964,83814,167,0002,023,0002,392,064
6May 27, 2021 17:145,06132,138,74914,172,0002,024,0002,396,160
7May 27, 2021 18:185,06342,434,90115,188,0001,012,0002,527,232
8May 27, 2021 17:145,06545,336,76914,182,0002,026,0002,383,872
9May 27, 2021 18:185,06835,949,20714,191,0002,027,0002,265,088
10May 27, 2021 17:105,06941,594,15814,193,0002,027,0002,502,656
11May 27, 2021 17:105,07543,781,86315,226,0001,015,0002,527,232
12May 27, 2021 17:145,07649,794,96515,227,0001,015,0002,396,160
13May 27, 2021 18:185,07743,827,88815,232,0001,015,0002,392,064
14May 27, 2021 17:145,08138,832,80214,226,0002,032,0002,265,088
15May 27, 2021 17:105,08233,003,62815,245,0001,016,0002,396,160
16May 27, 2021 17:145,08240,736,17515,246,0001,016,0002,387,968
17May 27, 2021 17:105,08341,807,63815,250,0001,016,0002,265,088
18May 27, 2021 17:105,08845,960,91914,245,0002,035,0002,265,088
19May 27, 2021 17:145,08836,480,64114,248,0002,035,0002,392,064
20May 27, 2021 17:145,09241,496,83514,258,0002,036,0002,265,088
21May 27, 2021 17:105,09538,851,46915,285,0001,019,0002,396,160
22May 27, 2021 18:185,09635,566,45415,288,0001,019,0002,265,088
23May 27, 2021 18:185,10232,316,72216,326,00002,506,752
24May 27, 2021 18:185,10336,019,85614,289,0002,041,0002,396,160
25May 27, 2021 17:145,11338,682,30414,318,0002,045,0002,469,888
26May 27, 2021 17:105,11439,822,67714,319,0002,045,0002,392,064
27May 27, 2021 18:185,22848,223,17116,730,05102,281,472
28May 27, 2021 17:145,23987,921,32816,766,37802,404,352
29May 27, 2021 18:185,25564,216,45116,815,88202,273,280
30May 27, 2021 17:145,26199,474,72416,834,73102,285,568
31May 27, 2021 17:105,26295,020,45116,838,58902,240,512
32May 27, 2021 17:105,26359,652,19816,840,00702,277,376
33May 27, 2021 17:145,27444,155,48716,877,89902,281,472
34May 27, 2021 18:185,27733,409,11615,894,000993,0002,400,256
35May 27, 2021 18:185,27995,738,51516,892,14202,240,512
36May 27, 2021 17:105,29856,263,46016,954,03402,277,376