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, 2024 12:57AndreyTSAndreyTSScore: 5,500Success
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, 2024 12:575,43840,713,58016,379,0001,023,0002,289,664
2Jun 13, 2024 12:575,45838,856,58716,440,0001,027,0002,269,184
3Jun 13, 2024 12:575,48534,940,29316,520,0001,032,0002,289,664
4Jun 13, 2024 12:575,48634,925,98916,523,0001,032,0002,289,664
5Jun 13, 2024 12:575,48734,920,30916,525,0001,032,0002,265,088
6Jun 13, 2024 12:575,49248,067,07717,575,00002,289,664
7Jun 13, 2024 12:575,50036,593,69716,564,0001,035,0002,289,664
8Jun 13, 2024 12:575,50544,971,46716,580,0001,036,0002,289,664
9Jun 13, 2024 12:575,50945,195,85617,630,00002,269,184
10Jun 13, 2024 12:575,71775,529,47518,293,16502,301,952
11Jun 13, 2024 12:575,72479,577,83818,315,41202,293,760
12Jun 13, 2024 12:575,74279,431,57618,373,22502,170,880