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 30, 2021 15:59Yuriy LyfenkoYuriy LyfenkoScore: 5,050Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:015,01139,683,86814,030,0002,004,0002,396,160
2May 30, 2021 15:595,02149,304,00714,058,0002,008,0002,527,232
3May 30, 2021 15:595,02333,200,10315,071,0001,004,0002,265,088
4May 30, 2021 16:015,02541,877,78314,070,0002,010,0002,392,064
5May 30, 2021 16:015,02650,416,07014,074,0002,010,0002,400,256
6May 30, 2021 16:015,02632,023,98814,073,0002,010,0002,265,088
7May 30, 2021 16:015,02632,947,98615,077,0001,005,0002,510,848
8May 30, 2021 15:595,02734,897,98415,082,0001,005,0002,265,088
9May 30, 2021 16:015,02846,705,50215,083,0001,005,0002,265,088
10May 30, 2021 15:595,03442,505,91714,095,0002,013,0002,387,968
11May 30, 2021 15:595,04145,048,65015,122,0001,008,0002,265,088
12May 30, 2021 15:595,04142,910,51514,116,0002,016,0002,265,088
13May 30, 2021 16:015,05042,495,24514,140,0002,020,0002,396,160
14May 30, 2021 15:595,05933,274,38014,167,0002,023,0002,265,088
15May 30, 2021 16:015,06337,808,62114,175,0002,025,0002,396,160
16May 30, 2021 15:595,07242,899,66515,217,0001,014,0002,506,752
17May 30, 2021 16:015,08648,878,13815,259,0001,017,0002,527,232
18May 30, 2021 15:595,09933,502,16814,278,0002,039,0002,269,184
19May 30, 2021 15:595,21462,999,47616,683,27102,281,472
20May 30, 2021 15:595,21582,301,89216,686,42502,281,472
21May 30, 2021 16:015,22390,116,16216,713,20102,260,992
22May 30, 2021 16:015,23087,840,67716,734,43802,277,376
23May 30, 2021 15:595,23775,209,16316,759,48402,285,568
24May 30, 2021 16:015,240100,642,85716,768,37402,277,376