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 30, 2024 10:37AnSaAnSaScore: 5,795Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:375,71246,413,26917,262,0001,015,0002,265,088
2Jun 30, 2024 10:375,72840,603,72616,293,0002,036,0002,265,088
3Jun 30, 2024 10:375,73236,054,04717,324,0001,019,0002,265,088
4Jun 30, 2024 10:375,73347,967,92017,328,0001,019,0002,269,184
5Jun 30, 2024 10:375,75741,827,22216,375,0002,046,0002,265,088
6Jun 30, 2024 10:375,76339,632,24417,417,0001,024,0002,289,664
7Jun 30, 2024 10:375,79543,023,00617,513,0001,030,0002,523,136
8Jun 30, 2024 10:375,79943,520,75418,557,00002,383,872
9Jun 30, 2024 10:375,80045,434,99817,529,0001,031,0002,523,136
10Jun 30, 2024 10:375,95494,803,10219,051,78102,301,952
11Jun 30, 2024 10:375,97291,259,18919,109,80802,289,664
12Jun 30, 2024 10:376,00965,720,47319,227,48502,289,664