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 listApr 5, 2025 21:17CountHarebourgCountHarebourgScore: 5,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 22:405,42235,275,61215,308,0002,041,0002,289,664
2Apr 5, 2025 22:405,42541,896,38916,339,0001,021,0002,289,664
3Apr 5, 2025 21:175,43744,421,17316,375,0001,023,0002,289,664
4Apr 5, 2025 22:445,43938,607,75216,383,0001,023,0002,273,280
5Apr 5, 2025 22:445,44145,431,78615,363,0002,048,0002,523,136
6Apr 5, 2025 21:175,44847,946,49716,407,0001,025,0002,289,664
7Apr 5, 2025 22:405,46542,764,53317,487,00002,527,232
8Apr 5, 2025 21:175,47440,892,12916,487,0001,030,0002,269,184
9Apr 5, 2025 22:445,47738,224,05216,496,0001,031,0002,359,296