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 05:07evgenikwtevgenikwtScore: 5,278Success
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 05:075,26731,632,17415,864,000991,0002,265,088
2Jun 5, 2021 05:075,26940,091,90314,878,0001,983,0002,392,064
3Jun 5, 2021 05:075,27041,171,75614,880,0001,984,0002,265,088
4Jun 5, 2021 05:075,27334,269,70714,887,0001,985,0002,383,872
5Jun 5, 2021 05:075,27547,249,65615,887,000992,0002,387,968
6Jun 5, 2021 05:075,27541,157,84614,894,0001,985,0002,265,088
7Jun 5, 2021 05:075,27843,670,87515,895,000993,0002,383,872
8Jun 5, 2021 05:075,27840,488,35414,903,0001,987,0002,265,088
9Jun 5, 2021 05:075,29241,733,77915,875,0001,058,0002,265,088
10Jun 5, 2021 05:075,45980,938,86417,469,15402,281,472
11Jun 5, 2021 05:075,47974,291,35717,532,88502,285,568
12Jun 5, 2021 05:075,48975,090,49117,564,20702,285,568