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 29, 2024 20:02AnSaAnSaScore: 4,851Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:024,78933,953,24514,305,0001,021,0002,379,776
2Jun 29, 2024 20:024,80742,763,27114,356,0001,025,0002,265,088
3Jun 29, 2024 20:024,81131,665,87014,368,0001,026,0002,506,752
4Jun 29, 2024 20:024,81934,378,40714,394,0001,028,0002,523,136
5Jun 29, 2024 20:024,82131,691,88614,400,0001,028,0002,387,968
6Jun 29, 2024 20:024,83830,898,15915,481,00002,265,088
7Jun 29, 2024 20:024,85135,581,46415,524,00002,371,584
8Jun 29, 2024 20:024,86331,097,00215,563,00002,265,088
9Jun 29, 2024 20:024,86935,843,79415,580,00002,265,088
10Jun 29, 2024 20:025,07889,235,87016,249,54602,285,568
11Jun 29, 2024 20:025,07976,147,67516,251,90902,269,184
12Jun 29, 2024 20:025,10061,267,09016,321,09702,277,376