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 listJan 19, 2025 02:23Ian MckibbenIan MckibbenScore: 4,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 02:234,66636,202,15513,936,000995,0002,269,184
2Jan 19, 2025 02:234,67432,539,34612,963,0001,994,0002,265,088
3Jan 19, 2025 02:234,67440,069,24813,960,000997,0002,289,664
4Jan 19, 2025 02:234,68330,797,75512,989,0001,998,0002,379,776
5Jan 19, 2025 02:234,69436,014,91114,019,0001,001,0002,523,136
6Jan 19, 2025 02:234,69533,032,84013,022,0002,003,0002,269,184
7Jan 19, 2025 02:234,70036,737,78113,036,0002,005,0002,289,664
8Jan 19, 2025 02:234,72430,983,65913,101,0002,015,0002,273,280
9Jan 19, 2025 02:234,89048,091,97715,647,00002,523,136