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:35Ian MckibbenIan MckibbenScore: 5,165Success
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:355,16032,197,39215,481,0001,032,0002,523,136
2Jan 19, 2025 00:355,16337,935,38616,522,00002,441,216
3Jan 19, 2025 00:355,16442,347,33615,492,0001,032,0002,445,312
4Jan 19, 2025 00:355,16438,615,52816,525,00002,441,216
5Jan 19, 2025 00:355,16533,907,90116,527,00002,437,120
6Jan 19, 2025 00:355,16641,591,89615,498,0001,033,0002,535,424
7Jan 19, 2025 00:355,19432,927,83215,583,0001,038,0002,535,424
8Jan 19, 2025 00:355,20541,231,93716,657,00002,535,424
9Jan 19, 2025 00:355,20939,268,35016,669,00002,523,136