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 listNov 9, 2024 04:46Manuel PepeManuel PepeScore: 274,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 04:46274,517913,094,475843,477,00034,978,0002,293,760
2Nov 9, 2024 04:46274,582907,142,738842,676,00035,986,0002,375,680
3Nov 9, 2024 04:46274,824909,820,116841,462,00037,975,0002,334,720