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 20, 2025 21:01Adam FolwarcznyAdam FolwarcznyScore: 4,526Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 21:014,50433,772,70813,383,0001,029,0002,523,136
2Apr 20, 2025 21:014,50833,477,50913,397,0001,030,0002,383,872
3Apr 20, 2025 21:014,51830,163,74813,425,0001,032,0002,523,136
4Apr 20, 2025 21:014,51949,522,64113,429,0001,033,0002,260,992
5Apr 20, 2025 21:014,52636,833,68513,448,0001,034,0002,375,680
6Apr 20, 2025 21:014,52631,762,72213,450,0001,034,0002,387,968
7Apr 20, 2025 21:014,52933,859,94613,459,0001,035,0002,523,136
8Apr 20, 2025 21:014,53330,385,90314,504,00002,506,752
9Apr 20, 2025 21:014,53831,607,38413,483,0001,037,0002,523,136