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 17, 2021 15:13Yuriy LyfenkoYuriy LyfenkoScore: 5,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:135,3404,132,602,13916,084,0001,005,0002,527,232
2May 17, 2021 15:135,349799,003,30617,118,00002,265,088
3May 17, 2021 15:165,3501,312,914,80715,218,0001,902,0002,265,088
4May 17, 2021 15:165,3531,669,588,44516,123,0001,007,0002,260,992
5May 17, 2021 15:135,359269,481,35914,123,0003,026,0002,265,088
6May 17, 2021 15:135,360733,567,04014,293,0002,858,0002,269,184
7May 17, 2021 15:165,363408,268,58516,151,0001,009,0002,265,088
8May 17, 2021 15:135,36478,416,72116,156,0001,009,0002,392,064
9May 17, 2021 15:165,3722,722,133,34416,236,000955,0002,527,232
10May 17, 2021 15:135,3732,805,781,66716,182,0001,011,0002,265,088
11May 17, 2021 15:135,3754,482,280,72515,289,0001,911,0002,265,088
12May 17, 2021 15:135,375106,342,71516,245,000955,0002,392,064
13May 17, 2021 15:135,3781,406,975,26317,211,00002,265,088
14May 17, 2021 15:165,3801,175,632,72816,204,0001,012,0002,260,992
15May 17, 2021 15:135,380381,893,01415,191,0002,025,0002,387,968
16May 17, 2021 15:135,3833,583,769,01816,213,0001,013,0002,527,232
17May 17, 2021 15:135,3844,916,749,26516,216,0001,013,0002,527,232
18May 17, 2021 15:135,3851,462,145,34316,276,000957,0002,265,088
19May 17, 2021 15:135,3862,705,232,42116,278,000957,0002,265,088
20May 17, 2021 15:165,3913,179,556,60616,238,0001,014,0002,265,088
21May 17, 2021 15:135,3934,389,939,06417,258,00002,527,232
22May 17, 2021 15:135,3964,495,680,49316,309,000959,0002,523,136
23May 17, 2021 15:135,3982,403,425,37917,275,00002,265,088
24May 17, 2021 15:165,4031,187,048,04716,329,000960,0002,527,232
25May 17, 2021 15:165,4062,110,733,62417,300,00002,265,088
26May 17, 2021 15:135,4093,006,441,06516,348,000961,0002,265,088
27May 17, 2021 15:165,4154,779,756,72416,309,0001,019,0002,527,232
28May 17, 2021 15:135,5652,438,407,38117,809,47102,277,376
29May 17, 2021 15:135,5694,415,595,73117,820,24802,273,280
30May 17, 2021 15:165,5724,571,966,39117,829,70902,273,280
31May 17, 2021 15:165,5761,149,202,20717,843,90702,281,472
32May 17, 2021 15:135,5774,782,595,20317,846,00902,277,376
33May 17, 2021 15:135,5782,392,341,81717,850,11902,277,376
34May 17, 2021 15:135,5852,031,807,79817,873,37802,281,472
35May 17, 2021 15:165,5874,148,084,95717,878,17902,277,376
36May 17, 2021 15:135,598860,653,76617,912,73502,277,376