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 listJun 4, 2021 23:39evgenikwtevgenikwtScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 23:395,26842,960,11614,876,0001,983,0002,265,088
2Jun 4, 2021 23:395,27546,948,98114,894,0001,985,0002,502,656
3Jun 4, 2021 23:395,27533,117,77014,895,0001,986,0002,265,088
4Jun 4, 2021 23:395,27735,616,82914,899,0001,986,0002,265,088
5Jun 4, 2021 23:395,27733,374,92814,900,0001,986,0002,387,968
6Jun 4, 2021 23:395,27943,219,41914,907,0001,987,0002,265,088
7Jun 4, 2021 23:395,29833,984,94214,959,0001,994,0002,392,064
8Jun 4, 2021 23:395,31339,383,53715,002,0002,000,0002,392,064
9Jun 4, 2021 23:395,32546,580,79015,037,0002,004,0002,527,232
10Jun 4, 2021 23:395,47386,203,69317,513,19802,285,568
11Jun 4, 2021 23:395,48983,676,36817,564,03602,281,472
12Jun 4, 2021 23:395,49387,549,29017,577,82702,285,568