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 22, 2024 13:00Huy Duc LeHuy Duc LeScore: 5,009Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:004,96734,568,25913,907,0001,986,0002,293,760
2Feb 22, 2024 13:004,97149,826,91614,847,0001,060,0002,269,184
3Feb 22, 2024 13:004,97433,673,28913,928,0001,989,0002,293,760
4Feb 22, 2024 13:004,98838,703,22913,968,0001,995,0002,293,760
5Feb 22, 2024 13:004,99533,527,88213,986,0001,998,0002,293,760
6Feb 22, 2024 13:005,00735,731,10214,019,0002,002,0002,269,184
7Feb 22, 2024 13:005,00941,451,99414,025,0002,003,0002,293,760
8Feb 22, 2024 13:005,01241,502,48915,037,0001,002,0002,293,760
9Feb 22, 2024 13:005,01639,152,34014,045,0002,006,0002,535,424
10Feb 22, 2024 13:005,21670,098,01216,691,57402,301,952
11Feb 22, 2024 13:005,22977,099,52516,733,93302,301,952
12Feb 22, 2024 13:005,23891,705,60516,762,00102,183,168