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 9, 2024 14:27AndreyTSAndreyTSScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:275,26241,663,79114,857,0001,981,0002,269,184
2Jun 9, 2024 14:275,26644,978,54815,859,000991,0002,289,664
3Jun 9, 2024 14:275,27343,907,71014,890,0001,985,0002,289,664
4Jun 9, 2024 14:275,27648,437,10414,896,0001,986,0002,289,664
5Jun 9, 2024 14:275,28236,366,22614,914,0001,988,0002,523,136
6Jun 9, 2024 14:275,29636,909,18414,953,0001,993,0002,527,232
7Jun 9, 2024 14:275,29640,278,30514,953,0001,993,0002,523,136
8Jun 9, 2024 14:275,31342,531,27715,003,0002,000,0002,289,664
9Jun 9, 2024 14:275,33342,373,34215,057,0002,007,0002,523,136
10Jun 9, 2024 14:275,54088,918,15717,729,56802,174,976
11Jun 9, 2024 14:275,54659,213,03117,745,84302,297,856
12Jun 9, 2024 14:275,55784,715,71217,781,62302,297,856