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 15, 2021 21:46Yuriy LyfenkoYuriy LyfenkoScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:465,43640,432,05816,371,0001,023,0002,510,848
2May 15, 2021 21:485,43746,470,95616,374,0001,023,0002,383,872
3May 15, 2021 21:465,44737,633,54417,431,00002,392,064
4May 15, 2021 21:465,44833,485,02916,409,0001,025,0002,387,968
5May 15, 2021 21:485,44939,175,39016,412,0001,025,0002,519,040
6May 15, 2021 21:485,45039,633,83316,414,0001,025,0002,392,064
7May 15, 2021 21:485,45036,374,94816,415,0001,025,0002,519,040
8May 15, 2021 21:465,45943,462,66517,470,00002,519,040
9May 15, 2021 21:485,47040,490,35116,474,0001,029,0002,510,848
10May 15, 2021 21:485,47036,310,70817,503,00002,519,040
11May 15, 2021 21:485,47847,650,48717,528,00002,519,040
12May 15, 2021 21:465,48439,699,27917,549,00002,400,256
13May 15, 2021 21:465,48639,431,36516,523,0001,032,0002,519,040
14May 15, 2021 21:465,48742,686,25917,558,00002,392,064
15May 15, 2021 21:485,49543,702,35416,549,0001,034,0002,519,040
16May 15, 2021 21:465,49947,647,25117,598,00002,519,040
17May 15, 2021 21:465,58349,599,39316,875,000992,0002,519,040
18May 15, 2021 21:485,59845,120,07914,927,0002,985,0002,519,040
19May 15, 2021 21:485,67779,506,67118,166,49402,277,376
20May 15, 2021 21:465,68187,101,13718,178,82402,289,664
21May 15, 2021 21:485,69581,313,79718,225,37702,281,472
22May 15, 2021 21:465,70268,857,97918,244,88902,273,280
23May 15, 2021 21:485,72486,150,26118,317,52902,277,376
24May 15, 2021 21:465,75263,922,57518,406,33602,289,664