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 13, 2021 22:25evgenikwtevgenikwtScore: 5,305Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 22:255,28043,509,34115,903,000993,0002,265,088
2Jun 13, 2021 22:255,29045,925,31714,937,0001,991,0002,265,088
3Jun 13, 2021 22:255,29042,170,48414,937,0001,991,0002,265,088
4Jun 13, 2021 22:255,29233,541,02814,942,0001,992,0002,265,088
5Jun 13, 2021 22:255,29641,835,80015,951,000996,0002,392,064
6Jun 13, 2021 22:255,30237,276,40114,970,0001,996,0002,383,872
7Jun 13, 2021 22:255,30547,269,40815,978,000998,0002,265,088
8Jun 13, 2021 22:255,31142,679,70814,997,0001,999,0002,383,872
9Jun 13, 2021 22:255,34332,836,26517,096,00002,265,088
10Jun 13, 2021 22:255,49086,254,93117,569,38002,285,568
11Jun 13, 2021 22:255,50482,391,84117,611,64802,244,608
12Jun 13, 2021 22:255,51086,135,80117,631,00802,273,280