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 19:37Yuriy LyfenkoYuriy LyfenkoScore: 5,593Success
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 19:385,58240,846,43616,870,000992,0002,519,040
2May 11, 2021 19:375,58342,670,22914,888,0002,977,0002,383,872
3May 11, 2021 19:385,58433,874,54516,878,000992,0002,260,992
4May 11, 2021 19:385,58545,164,92915,886,0001,985,0002,519,040
5May 11, 2021 19:385,58641,304,07815,889,0001,986,0002,519,040
6May 11, 2021 19:385,58743,108,91016,885,000993,0002,498,560
7May 11, 2021 19:385,58845,909,19314,902,0002,980,0002,519,040
8May 11, 2021 19:385,58842,884,31016,888,000993,0002,519,040
9May 11, 2021 19:375,59146,944,63414,909,0002,981,0002,519,040
10May 11, 2021 19:375,59245,391,60915,905,0001,988,0002,383,872
11May 11, 2021 19:375,59335,789,83314,914,0002,982,0002,519,040
12May 11, 2021 19:375,59344,706,83215,909,0001,988,0002,519,040
13May 11, 2021 19:375,59347,046,22317,898,00002,379,776
14May 11, 2021 19:385,59345,520,12615,909,0001,988,0002,473,984
15May 11, 2021 19:375,59344,959,78617,899,00002,383,872
16May 11, 2021 19:385,59439,144,69616,907,000994,0002,387,968
17May 11, 2021 19:375,59549,125,19914,921,0002,984,0002,510,848
18May 11, 2021 19:375,59748,453,08715,920,0001,990,0002,519,040
19May 11, 2021 19:375,79987,724,99018,556,52002,269,184
20May 11, 2021 19:385,80086,063,84318,561,57202,273,280
21May 11, 2021 19:375,83181,495,16418,660,69302,273,280
22May 11, 2021 19:375,83693,630,73518,673,84702,273,280
23May 11, 2021 19:385,83778,131,68318,678,17302,269,184
24May 11, 2021 19:385,85291,428,86618,727,56402,273,280