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 listApr 17, 2024 03:06Joad NacerJoad NacerScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:065,53442,916,51316,667,0001,041,0002,265,088
2Apr 17, 2024 03:065,57538,745,83715,858,0001,982,0002,289,664
3Apr 17, 2024 03:065,57842,473,27315,865,0001,983,0002,277,376
4Apr 17, 2024 03:065,58243,867,36916,869,000992,0002,273,280
5Apr 17, 2024 03:065,58449,354,47915,884,0001,985,0002,527,232
6Apr 17, 2024 03:065,58545,908,18815,886,0001,985,0002,289,664
7Apr 17, 2024 03:065,58634,098,50115,889,0001,986,0002,289,664
8Apr 17, 2024 03:065,58934,222,82815,898,0001,987,0002,289,664
9Apr 17, 2024 03:065,62337,648,26715,995,0001,999,0002,289,664
10Apr 17, 2024 03:065,76887,408,89518,458,46202,301,952
11Apr 17, 2024 03:065,78782,510,63318,517,74202,301,952
12Apr 17, 2024 03:065,80161,931,60618,562,45102,301,952