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:15Sergey SerebryakovSergey SerebryakovScore: 11,546Success
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:1511,20061,912,9216,969,00028,872,0002,379,776
2Feb 3, 2025 12:1511,33159,096,4397,050,00029,208,0002,273,280
3Feb 3, 2025 12:1511,43165,141,8236,096,00030,484,0002,289,664
4Feb 3, 2025 12:1511,52161,129,3324,982,00031,886,0002,289,664
5Feb 3, 2025 12:1511,54659,961,4295,991,00030,957,0002,277,376
6Feb 3, 2025 12:1511,57362,060,5745,004,00032,029,0002,277,376
7Feb 3, 2025 12:1511,76065,728,8255,085,00032,546,0002,277,376
8Feb 3, 2025 12:1511,82968,842,4436,972,00030,880,0002,289,664
9Feb 3, 2025 12:1511,93763,403,4095,026,00033,173,0002,387,968