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 00:34Ian MckibbenIan MckibbenScore: 5,177Success
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 00:345,14829,508,82216,472,00002,441,216
2Jan 19, 2025 00:345,16143,241,15315,484,0001,032,0002,441,216
3Jan 19, 2025 00:345,17134,869,92616,548,00002,433,024
4Jan 19, 2025 00:345,17633,018,16715,527,0001,035,0002,437,120
5Jan 19, 2025 00:345,17736,256,69715,532,0001,035,0002,273,280
6Jan 19, 2025 00:345,18233,929,67416,582,00002,523,136
7Jan 19, 2025 00:345,20932,956,55816,670,00002,523,136
8Jan 19, 2025 00:345,21042,407,83316,673,00002,441,216
9Jan 19, 2025 00:345,21938,900,26015,657,0001,043,0002,437,120