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 8, 2024 22:01AndreyTSAndreyTSScore: 5,306Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 22:015,27141,709,02114,884,0001,984,0002,519,040
2Jun 8, 2024 22:015,27233,465,57414,885,0001,984,0002,273,280
3Jun 8, 2024 22:015,27242,716,36414,886,0001,984,0002,269,184
4Jun 8, 2024 22:015,27936,248,81114,907,0001,987,0002,289,664
5Jun 8, 2024 22:015,29035,351,11614,937,0001,991,0002,273,280
6Jun 8, 2024 22:015,30045,691,41614,964,0001,995,0002,289,664
7Jun 8, 2024 22:015,30636,918,77714,983,0001,997,0002,269,184
8Jun 8, 2024 22:015,32840,507,31515,044,0002,005,0002,289,664
9Jun 8, 2024 22:015,33044,362,15415,049,0002,006,0002,289,664
10Jun 8, 2024 22:015,46387,939,92117,480,07902,297,856
11Jun 8, 2024 22:015,50581,271,28717,616,49602,301,952
12Jun 8, 2024 22:015,51987,533,96517,660,76702,301,952