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 30, 2024 10:30AnSaAnSaScore: 4,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:304,86833,419,99914,539,0001,038,0002,289,664
2Jun 30, 2024 10:304,86947,941,84514,543,0001,038,0002,289,664
3Jun 30, 2024 10:304,87231,256,12914,550,0001,039,0002,269,184
4Jun 30, 2024 10:304,87231,669,78014,551,0001,039,0002,265,088
5Jun 30, 2024 10:304,88935,198,59914,602,0001,043,0002,269,184
6Jun 30, 2024 10:304,89841,027,29215,672,00002,523,136
7Jun 30, 2024 10:304,89941,820,67214,631,0001,045,0002,269,184
8Jun 30, 2024 10:304,90453,791,91115,692,00002,273,280
9Jun 30, 2024 10:304,96132,133,70913,891,0001,984,0002,289,664
10Jun 30, 2024 10:305,15578,973,64916,494,48902,285,568
11Jun 30, 2024 10:305,19763,599,31816,628,82602,289,664
12Jun 30, 2024 10:305,20867,655,71516,666,93902,285,568