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 28, 2021 21:46Egor SergeevEgor SergeevScore: 5,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 21:465,11634,182,91816,370,00002,277,376
2Jun 28, 2021 21:465,13335,273,03016,424,00002,498,560
3Jun 28, 2021 21:465,13728,368,24816,439,00002,498,560
4Jun 28, 2021 21:465,14634,963,51516,468,00002,277,376
5Jun 28, 2021 21:465,14836,088,93916,473,00002,277,376
6Jun 28, 2021 21:465,15335,286,31716,490,00002,494,464
7Jun 28, 2021 21:465,15930,277,73216,508,00002,277,376
8Jun 28, 2021 21:465,15942,623,46716,509,00002,494,464
9Jun 28, 2021 21:465,16430,892,09116,524,00002,277,376
10Jun 28, 2021 21:465,40251,453,15017,285,59702,260,992
11Jun 28, 2021 21:465,41063,151,87217,310,62602,240,512
12Jun 28, 2021 21:465,42667,121,42617,363,49302,269,184