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 listJul 8, 2021 15:42Yuriy LyfenkoYuriy LyfenkoScore: 4,629Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 15:424,617552,959,28113,790,000985,0002,379,776
2Jul 8, 2021 15:424,619540,376,30313,797,000985,0002,523,136
3Jul 8, 2021 15:424,620545,036,88112,812,0001,971,0002,260,992
4Jul 8, 2021 15:424,620539,677,23312,812,0001,971,0002,519,040
5Jul 8, 2021 15:424,620541,684,83412,813,0001,971,0002,400,256
6Jul 8, 2021 15:424,624545,074,08212,824,0001,972,0002,265,088
7Jul 8, 2021 15:424,629539,537,99212,839,0001,975,0002,260,992
8Jul 8, 2021 15:424,642542,079,28712,873,0001,980,0002,392,064
9Jul 8, 2021 15:424,660540,838,01813,917,000994,0002,260,992
10Jul 8, 2021 15:424,754575,181,63615,211,33502,269,184
11Jul 8, 2021 15:424,781582,914,59515,300,35602,277,376
12Jul 8, 2021 15:424,786575,194,15915,314,57402,240,512