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 16, 2021 15:57Yuriy LyfenkoYuriy LyfenkoScore: 5,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:575,42537,558,32814,296,0003,063,0002,519,040
2May 16, 2021 15:575,43345,325,20816,364,0001,022,0002,519,040
3May 16, 2021 15:575,43737,580,20316,375,0001,023,0002,392,064
4May 16, 2021 15:575,44338,142,54016,395,0001,024,0002,519,040
5May 16, 2021 15:575,44845,486,11616,408,0001,025,0002,519,040
6May 16, 2021 15:575,44936,235,69417,437,00002,519,040
7May 16, 2021 15:575,45051,573,52917,441,00002,383,872
8May 16, 2021 15:575,45044,626,40716,414,0001,025,0002,387,968
9May 16, 2021 15:575,45039,940,44817,439,00002,383,872
10May 16, 2021 15:575,45137,083,78715,392,0002,052,0002,519,040
11May 16, 2021 15:575,45934,517,81617,470,00002,519,040
12May 16, 2021 15:575,46335,869,24017,481,00002,519,040
13May 16, 2021 15:575,46850,068,78415,439,0002,058,0002,260,992
14May 16, 2021 15:575,46940,164,63516,471,0001,029,0002,519,040
15May 16, 2021 15:575,47231,345,61615,451,0002,060,0002,519,040
16May 16, 2021 15:575,47341,035,53817,515,00002,383,872
17May 16, 2021 15:575,47841,382,58615,466,0002,062,0002,519,040
18May 16, 2021 15:575,48739,928,93717,559,00002,519,040
19May 16, 2021 15:575,71779,302,01518,295,61802,277,376
20May 16, 2021 15:575,72090,982,33118,303,48302,273,280
21May 16, 2021 15:575,72788,318,52518,324,89602,281,472
22May 16, 2021 15:575,73682,723,95718,356,61802,289,664
23May 16, 2021 15:575,75081,092,53818,401,36502,265,088
24May 16, 2021 15:575,77187,842,48618,465,94702,285,568