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 5, 2021 17:07evgenikwtevgenikwtScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 17:075,26741,866,11515,864,000991,0002,510,848
2Jun 5, 2021 17:075,26841,527,09515,868,000991,0002,265,088
3Jun 5, 2021 17:075,27144,619,52914,883,0001,984,0002,392,064
4Jun 5, 2021 17:075,27238,011,29614,885,0001,984,0002,527,232
5Jun 5, 2021 17:075,27446,523,03114,892,0001,985,0002,269,184
6Jun 5, 2021 17:075,27442,235,75316,878,00002,506,752
7Jun 5, 2021 17:075,27532,593,01515,887,000992,0002,387,968
8Jun 5, 2021 17:075,27844,195,42814,903,0001,987,0002,387,968
9Jun 5, 2021 17:075,27837,797,58314,904,0001,987,0002,387,968
10Jun 5, 2021 17:075,49390,424,13817,577,27102,240,512
11Jun 5, 2021 17:075,49479,483,90017,581,08102,240,512
12Jun 5, 2021 17:075,49887,669,90817,592,36002,273,280