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:18AndreyTSAndreyTSScore: 5,596Success
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:185,57945,558,60315,871,0001,983,0002,289,664
2Jun 8, 2024 18:185,58045,913,35916,865,000992,0002,379,776
3Jun 8, 2024 18:185,58243,449,00415,879,0001,984,0002,269,184
4Jun 8, 2024 18:185,58840,608,47515,894,0001,986,0002,269,184
5Jun 8, 2024 18:185,59045,558,45015,900,0001,987,0002,289,664
6Jun 8, 2024 18:185,59648,860,87215,917,0001,989,0002,289,664
7Jun 8, 2024 18:185,59633,621,91315,918,0001,989,0002,289,664
8Jun 8, 2024 18:185,60541,305,88315,944,0001,993,0002,265,088
9Jun 8, 2024 18:185,60646,903,45015,946,0001,993,0002,289,664
10Jun 8, 2024 18:186,02359,329,46519,273,70502,301,952
11Jun 8, 2024 18:186,03396,052,74719,306,56702,301,952
12Jun 8, 2024 18:186,06270,510,04819,397,53802,301,952