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 28, 2024 04:50Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:505,68271,162,42118,183,30402,306,048
2Feb 28, 2024 04:505,71182,408,86418,276,06702,183,168
3Feb 28, 2024 04:505,731112,238,30818,337,66102,310,144
4Feb 28, 2024 04:505,74842,682,55017,372,0001,021,0002,273,280
5Feb 28, 2024 04:505,76433,930,42717,422,0001,024,0002,277,376
6Feb 28, 2024 04:505,77640,720,99618,483,00002,293,760
7Feb 28, 2024 04:505,77842,942,25117,463,0001,027,0002,375,680
8Feb 28, 2024 04:505,78643,636,96817,487,0001,028,0002,293,760
9Feb 28, 2024 04:505,79741,708,88717,519,0001,030,0002,293,760
10Feb 28, 2024 04:505,79740,330,21818,551,00002,379,776
11Feb 28, 2024 04:505,79838,628,81217,523,0001,030,0002,293,760
12Feb 28, 2024 04:505,80040,932,18118,559,00002,293,760