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 01:15evgenikwtevgenikwtScore: 5,290Success
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 01:155,26940,138,01114,879,0001,983,0002,527,232
2Jun 5, 2021 01:155,27237,630,55415,877,000992,0002,392,064
3Jun 5, 2021 01:155,27343,315,12514,890,0001,985,0002,392,064
4Jun 5, 2021 01:155,27533,800,75815,888,000993,0002,265,088
5Jun 5, 2021 01:155,27645,629,94415,891,000993,0002,383,872
6Jun 5, 2021 01:155,28443,349,46515,915,000994,0002,396,160
7Jun 5, 2021 01:155,29034,571,92515,932,000995,0002,269,184
8Jun 5, 2021 01:155,29546,487,11515,947,000996,0002,265,088
9Jun 5, 2021 01:155,29943,495,44715,960,000997,0002,265,088
10Jun 5, 2021 01:155,48159,465,96017,538,25402,285,568
11Jun 5, 2021 01:155,48977,128,64417,563,78302,273,280
12Jun 5, 2021 01:155,49484,923,14117,582,17602,277,376