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 22:07Egor SergeevEgor SergeevScore: 5,494Success
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 22:075,45241,380,02917,446,00002,498,560
2Jun 28, 2021 22:075,46438,248,98917,484,00002,502,656
3Jun 28, 2021 22:075,46833,156,02517,496,00002,277,376
4Jun 28, 2021 22:075,46940,491,76917,501,00002,502,656
5Jun 28, 2021 22:075,47533,419,72017,520,00002,494,464
6Jun 28, 2021 22:075,48139,375,10517,538,00002,494,464
7Jun 28, 2021 22:075,49438,318,24717,580,00002,494,464
8Jun 28, 2021 22:075,52045,203,94517,663,00002,494,464
9Jun 28, 2021 22:075,52839,151,46317,691,00002,273,280
10Jun 28, 2021 22:075,62671,189,49018,004,14502,244,608
11Jun 28, 2021 22:075,63867,043,15318,042,43002,248,704
12Jun 28, 2021 22:075,69684,497,26918,226,91402,260,992