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 21:56AndreyTSAndreyTSScore: 5,308Success
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 21:565,26835,541,13614,875,0001,983,0002,269,184
2Jun 8, 2024 21:565,27432,022,69814,892,0001,985,0002,523,136
3Jun 8, 2024 21:565,27546,826,52614,894,0001,985,0002,269,184
4Jun 8, 2024 21:565,27545,214,16214,894,0001,985,0002,289,664
5Jun 8, 2024 21:565,29542,334,67514,950,0001,993,0002,269,184
6Jun 8, 2024 21:565,29536,991,88414,952,0001,993,0002,289,664
7Jun 8, 2024 21:565,30844,769,72114,989,0001,998,0002,289,664
8Jun 8, 2024 21:565,33540,075,56215,065,0002,008,0002,289,664
9Jun 8, 2024 21:565,33937,803,25415,076,0002,010,0002,289,664
10Jun 8, 2024 21:565,49779,987,66617,591,76902,301,952
11Jun 8, 2024 21:565,54186,376,21517,729,69502,297,856
12Jun 8, 2024 21:565,54182,059,56517,732,52602,297,856