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 listJul 23, 2024 08:11Andrea FontanaAndrea FontanaScore: 2,530,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2024 08:112,509,3908,091,427,2438,030,047,46002,265,088
2Jul 23, 2024 08:112,530,5408,173,554,7198,097,726,89202,252,800
3Jul 23, 2024 08:112,540,7558,198,957,6068,130,416,04302,260,992