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 25, 2021 15:31Yuriy LyfenkoYuriy LyfenkoScore: 5,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:315,37333,842,49916,184,0001,011,0002,269,184
2May 25, 2021 15:315,39844,493,52516,257,0001,016,0002,265,088
3May 25, 2021 15:315,42636,447,30215,320,0002,042,0002,392,064
4May 25, 2021 15:315,43047,928,98215,333,0002,044,0002,265,088
5May 25, 2021 15:315,43238,798,00117,381,00002,265,088
6May 25, 2021 15:315,43339,992,34616,363,0001,022,0002,265,088
7May 25, 2021 15:315,45340,270,86716,424,0001,026,0002,527,232
8May 25, 2021 15:315,45733,021,33316,434,0001,027,0002,387,968
9May 25, 2021 15:315,49735,483,68016,556,0001,034,0002,265,088
10May 25, 2021 15:315,59240,164,14417,893,39902,273,280
11May 25, 2021 15:315,61567,625,73517,968,84002,269,184
12May 25, 2021 15:315,62864,194,57918,008,55902,273,280