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 20:20Yuriy LyfenkoYuriy LyfenkoScore: 5,584Success
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 20:205,52142,109,81717,668,00002,392,064
2May 11, 2021 20:205,52444,548,50115,597,0002,079,0002,396,160
3May 11, 2021 20:205,53841,510,38716,679,0001,042,0002,260,992
4May 11, 2021 20:205,53944,787,98216,682,0001,042,0002,523,136
5May 11, 2021 20:205,54143,802,09116,689,0001,043,0002,265,088
6May 11, 2021 20:205,54247,380,08517,735,00002,260,992
7May 11, 2021 20:205,54243,985,80716,692,0001,043,0002,523,136
8May 11, 2021 20:205,54344,519,98416,694,0001,043,0002,396,160
9May 11, 2021 20:205,54546,950,46616,701,0001,043,0002,523,136
10May 11, 2021 20:205,57944,476,68315,871,0001,983,0002,260,992
11May 11, 2021 20:205,58149,878,78216,867,000992,0002,396,160
12May 11, 2021 20:205,58441,710,68914,890,0002,978,0002,510,848
13May 11, 2021 20:205,58435,255,82215,885,0001,985,0002,396,160
14May 11, 2021 20:205,58652,889,27915,889,0001,986,0002,260,992
15May 11, 2021 20:205,58643,451,46414,897,0002,979,0002,523,136
16May 11, 2021 20:205,58832,548,45915,896,0001,987,0002,265,088
17May 11, 2021 20:205,58840,517,10116,888,000993,0002,260,992
18May 11, 2021 20:205,59248,572,19816,900,000994,0002,523,136
19May 11, 2021 20:205,762100,723,09818,437,19502,273,280
20May 11, 2021 20:205,76879,386,46718,456,02102,285,568
21May 11, 2021 20:205,76989,289,71518,461,74302,277,376
22May 11, 2021 20:205,78278,804,43118,501,07102,281,472
23May 11, 2021 20:205,78688,326,40518,514,87002,277,376
24May 11, 2021 20:205,79681,112,37318,547,14202,277,376