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 listMar 25, 2025 17:32wainCGPwainCGPScore: 10,927Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 17:2010,83864,420,37010,201,00024,482,0002,289,664
2Mar 25, 2025 17:2010,89863,431,7255,978,00028,895,0002,506,752
3Mar 25, 2025 17:3210,92062,048,1517,987,00026,958,0002,289,664
4Mar 25, 2025 17:3210,92759,374,4973,996,00030,971,0002,289,664
5Mar 25, 2025 17:2010,92863,265,1015,994,00028,975,0002,506,752
6Mar 25, 2025 17:3210,94459,266,5673,001,00032,020,0002,289,664