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:24Yuriy LyfenkoYuriy LyfenkoScore: 5,621Success
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:245,58643,053,54015,888,0001,986,0002,383,872
2May 11, 2021 18:255,58742,961,94015,892,0001,986,0002,260,992
3May 11, 2021 18:245,58945,068,59616,893,000993,0002,519,040
4May 11, 2021 18:245,59035,709,15616,836,0001,052,0002,519,040
5May 11, 2021 18:255,59546,134,30615,916,0001,989,0002,523,136
6May 11, 2021 18:255,59640,293,84715,919,0001,989,0002,383,872
7May 11, 2021 18:255,60244,977,21115,934,0001,991,0002,260,992
8May 11, 2021 18:245,60848,262,07916,950,000997,0002,260,992
9May 11, 2021 18:255,61045,713,56515,958,0001,994,0002,392,064
10May 11, 2021 18:255,61634,008,83316,974,000998,0002,519,040
11May 11, 2021 18:255,61743,460,68916,977,000998,0002,383,872
12May 11, 2021 18:245,61836,289,52015,979,0001,997,0002,379,776
13May 11, 2021 18:255,62148,171,46316,987,000999,0002,519,040
14May 11, 2021 18:245,62137,813,58915,989,0001,998,0002,519,040
15May 11, 2021 18:245,62534,174,98717,000,0001,000,0002,519,040
16May 11, 2021 18:245,63148,253,78017,018,0001,001,0002,519,040
17May 11, 2021 18:255,63348,283,84217,026,0001,001,0002,387,968
18May 11, 2021 18:245,63945,100,23815,037,0003,007,0002,519,040
19May 11, 2021 18:245,96963,254,59919,101,97802,273,280
20May 11, 2021 18:255,98584,328,28119,151,57202,281,472
21May 11, 2021 18:256,02889,395,62919,288,79902,289,664
22May 11, 2021 18:246,03478,167,71819,310,00602,273,280
23May 11, 2021 18:246,04584,739,75719,343,17202,285,568
24May 11, 2021 18:256,049101,066,19419,356,34602,277,376