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 18:19AndreyTSAndreyTSScore: 5,592Success
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 18:195,58343,375,86615,882,0001,985,0002,531,328
2Jun 8, 2024 18:195,58448,937,20715,884,0001,985,0002,527,232
3Jun 8, 2024 18:195,58441,745,14415,885,0001,985,0002,289,664
4Jun 8, 2024 18:195,58540,491,11515,886,0001,985,0002,265,088
5Jun 8, 2024 18:195,58641,635,14015,890,0001,986,0002,269,184
6Jun 8, 2024 18:195,58944,011,76515,897,0001,987,0002,289,664
7Jun 8, 2024 18:195,59237,252,44715,907,0001,988,0002,277,376
8Jun 8, 2024 18:195,60440,271,20215,941,0001,992,0002,519,040
9Jun 8, 2024 18:195,61743,589,52415,978,0001,997,0002,289,664
10Jun 8, 2024 18:196,02587,545,19419,278,61002,301,952
11Jun 8, 2024 18:196,034104,390,00119,308,66102,301,952
12Jun 8, 2024 18:196,08984,983,28919,483,95102,174,976