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 11, 2025 06:38Ian MckibbenIan MckibbenScore: 13,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 20:536,05751,159,77917,342,0002,040,0002,289,664
2Jan 9, 2025 20:536,05841,403,68818,366,0001,020,0002,273,280
3Jan 9, 2025 20:536,07842,045,35419,449,00002,289,664
4Jan 11, 2025 06:3713,56866,276,82443,418,00002,289,664
5Jan 11, 2025 06:3713,58369,300,31941,444,0002,021,0002,523,136
6Jan 11, 2025 06:3713,65769,435,62141,669,0002,032,0002,281,472
7Jan 11, 2025 06:3827,041110,209,90885,526,0001,006,0002,269,184
8Jan 11, 2025 06:3827,042113,025,09386,535,00002,367,488
9Jan 11, 2025 06:3827,086121,163,46085,668,0001,007,0002,265,088