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 23, 2024 11:02E SequeiraE SequeiraScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 11:025,27541,745,71514,895,0001,986,0002,289,664
2Nov 23, 2024 11:025,27842,754,38814,903,0001,987,0002,289,664
3Nov 23, 2024 11:025,27845,347,36914,904,0001,987,0002,273,280
4Nov 23, 2024 11:025,27945,847,83214,907,0001,987,0002,289,664
5Nov 23, 2024 11:025,30350,103,86314,972,0001,996,0002,289,664
6Nov 23, 2024 11:025,30548,808,21214,978,0001,997,0002,289,664
7Nov 23, 2024 11:025,30535,972,12114,979,0001,997,0002,289,664
8Nov 23, 2024 11:025,30647,792,88014,982,0001,997,0002,289,664
9Nov 23, 2024 11:025,31834,331,36715,015,0002,002,0002,289,664