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 11, 2021 18:46Yuriy LyfenkoYuriy LyfenkoScore: 5,773Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 18:465,70443,430,82216,224,0002,028,0002,379,776
2May 11, 2021 18:465,72440,264,00717,300,0001,017,0002,519,040
3May 11, 2021 18:465,73349,929,88517,327,0001,019,0002,519,040
4May 11, 2021 18:465,73444,747,92717,330,0001,019,0002,383,872
5May 11, 2021 18:465,73541,126,85517,334,0001,019,0002,519,040
6May 11, 2021 18:465,73645,721,07616,316,0002,039,0002,519,040
7May 11, 2021 18:465,77341,904,06918,473,00002,387,968
8May 11, 2021 18:465,77635,935,27117,458,0001,026,0002,510,848
9May 11, 2021 18:465,79446,679,71317,511,0001,030,0002,383,872
10May 11, 2021 18:465,99182,394,68519,169,76702,281,472
11May 11, 2021 18:466,00363,245,41019,209,53602,281,472
12May 11, 2021 18:466,05263,095,26019,367,08902,277,376