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 listJul 8, 2023 08:35Andrew MoonAndrew MoonScore: 10,941Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 08:3510,74692,521,76134,387,56402,244,608
2Jul 8, 2023 08:3510,94199,420,31135,012,62302,240,512
3Jul 8, 2023 08:3510,96694,955,44035,091,72702,240,512