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 listFeb 3, 2025 12:01Sergey SerebryakovSergey SerebryakovScore: 17,926Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 3, 2025 12:0117,76183,514,77428,916,00027,919,0002,277,376
2Feb 3, 2025 12:0117,83881,197,88029,041,00028,039,0002,281,472
3Feb 3, 2025 12:0117,85781,028,15625,062,00032,079,0002,269,184
4Feb 3, 2025 12:0117,91384,647,66132,181,00025,141,0002,273,280
5Feb 3, 2025 12:0117,92681,396,18228,178,00029,185,0002,289,664
6Feb 3, 2025 12:0117,94880,714,67526,198,00031,236,0002,269,184
7Feb 3, 2025 12:0117,96886,247,72724,209,00033,288,0002,281,472
8Feb 3, 2025 12:0117,97580,398,62927,247,00030,274,0002,277,376
9Feb 3, 2025 12:0118,46381,705,43029,040,00030,041,0002,277,376