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 listApr 20, 2025 20:12Adam FolwarcznyAdam FolwarcznyScore: 5,350Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 20:125,32240,521,49815,028,0002,003,0002,289,664
2Apr 20, 2025 20:125,32841,154,51315,045,0002,006,0002,269,184
3Apr 20, 2025 20:125,33139,105,70115,052,0002,007,0002,265,088
4Apr 20, 2025 20:125,34439,965,43415,090,0002,012,0002,289,664
5Apr 20, 2025 20:125,35046,230,18015,105,0002,014,0002,289,664
6Apr 20, 2025 20:125,36432,678,80515,147,0002,019,0002,289,664
7Apr 20, 2025 20:125,36840,197,71515,157,0002,020,0002,265,088
8Apr 20, 2025 20:125,37232,990,54416,180,0001,011,0002,273,280
9Apr 20, 2025 20:125,39338,879,16415,226,0002,030,0002,269,184