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 25, 2025 07:57Cameron AavikCameron AavikScore: 5,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 07:575,72636,078,32316,288,0002,036,0002,547,712
2Jan 25, 2025 07:575,74648,064,13816,344,0002,043,0002,535,424
3Jan 25, 2025 07:575,77943,375,16117,467,0001,027,0002,379,776