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 listFeb 22, 2024 13:12Huy Duc LeHuy Duc LeScore: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:124,91935,997,39214,691,0001,049,0002,289,664
2Feb 22, 2024 13:124,95242,806,55913,866,0001,980,0002,289,664
3Feb 22, 2024 13:124,95242,898,19213,866,0001,980,0002,289,664
4Feb 22, 2024 13:124,95436,510,64214,862,000990,0002,289,664
5Feb 22, 2024 13:124,95742,891,80414,871,000991,0002,289,664
6Feb 22, 2024 13:124,96141,330,94213,892,0001,984,0002,273,280
7Feb 22, 2024 13:124,96242,783,32214,886,000992,0002,269,184
8Feb 22, 2024 13:124,99134,104,48413,976,0001,996,0002,273,280
9Feb 22, 2024 13:124,99733,824,44213,991,0001,998,0002,277,376
10Feb 22, 2024 13:125,13579,301,19916,431,36002,183,168
11Feb 22, 2024 13:125,14985,265,16316,476,08402,293,760
12Feb 22, 2024 13:125,16295,473,94316,517,13402,174,976