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 8, 2021 01:31evgenikwtevgenikwtScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 01:315,27434,333,27815,884,000992,0002,383,872
2Jun 8, 2021 01:315,27547,249,43214,895,0001,986,0002,392,064
3Jun 8, 2021 01:315,27645,073,28214,898,0001,986,0002,387,968
4Jun 8, 2021 01:315,27847,705,40615,897,000993,0002,265,088
5Jun 8, 2021 01:315,27842,439,75714,903,0001,987,0002,265,088
6Jun 8, 2021 01:315,28434,866,03116,909,00002,265,088
7Jun 8, 2021 01:315,28842,880,73315,928,000995,0002,527,232
8Jun 8, 2021 01:315,29547,834,88315,949,000996,0002,375,680
9Jun 8, 2021 01:315,29942,410,98515,960,000997,0002,265,088
10Jun 8, 2021 01:315,46974,247,56117,502,38102,273,280
11Jun 8, 2021 01:315,48386,593,79617,545,30402,281,472
12Jun 8, 2021 01:315,60367,832,67417,929,82102,281,472