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,587Success
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,52134,710,01217,666,00002,523,136
2May 11, 2021 20:205,57342,504,50414,862,0002,972,0002,519,040
3May 11, 2021 20:205,58136,763,34615,874,0001,984,0002,400,256
4May 11, 2021 20:205,58245,389,78616,871,000992,0002,523,136
5May 11, 2021 20:205,58346,653,91717,865,00002,392,064
6May 11, 2021 20:205,58446,612,61917,869,00002,523,136
7May 11, 2021 20:205,58750,363,39315,891,0001,986,0002,260,992
8May 11, 2021 20:205,59346,070,59115,908,0001,988,0002,387,968
9May 11, 2021 20:205,59344,904,19615,909,0001,988,0002,523,136
10May 11, 2021 20:205,77485,173,31118,477,06602,277,376
11May 11, 2021 20:205,77877,414,28818,490,60502,269,184
12May 11, 2021 20:205,79795,865,39718,550,58602,281,472