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:13evgenikwtevgenikwtScore: 5,312Success
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:135,28450,718,64514,919,0001,989,0002,387,968
2Jun 13, 2021 22:135,29036,606,78914,936,0001,991,0002,527,232
3Jun 13, 2021 22:135,29344,210,87115,943,000996,0002,387,968
4Jun 13, 2021 22:135,29433,578,86215,945,000996,0002,265,088
5Jun 13, 2021 22:135,30044,845,74114,964,0001,995,0002,519,040
6Jun 13, 2021 22:135,30145,311,33314,969,0001,995,0002,265,088
7Jun 13, 2021 22:135,31233,763,19015,998,000999,0002,265,088
8Jun 13, 2021 22:135,32443,657,50816,035,0001,002,0002,387,968
9Jun 13, 2021 22:135,32942,551,89915,047,0002,006,0002,265,088
10Jun 13, 2021 22:135,49277,299,33817,573,71602,269,184
11Jun 13, 2021 22:135,50780,029,31417,623,40602,273,280
12Jun 13, 2021 22:135,52064,084,47417,663,41502,281,472