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 listJun 9, 2024 14:07AndreyTSAndreyTSScore: 5,289Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:075,23741,632,68816,757,00002,269,184
2Jun 9, 2024 14:075,26044,944,26714,852,0001,980,0002,281,472
3Jun 9, 2024 14:075,26134,998,47315,845,000990,0002,289,664
4Jun 9, 2024 14:075,26445,515,33614,863,0001,981,0002,269,184
5Jun 9, 2024 14:075,26541,253,03014,867,0001,982,0002,289,664
6Jun 9, 2024 14:075,27340,769,73214,888,0001,985,0002,392,064
7Jun 9, 2024 14:075,28938,650,92815,869,0001,057,0002,289,664
8Jun 9, 2024 14:075,29038,857,94414,936,0001,991,0002,523,136
9Jun 9, 2024 14:075,29445,589,95614,949,0001,993,0002,289,664
10Jun 9, 2024 14:075,49488,328,49817,581,51002,179,072
11Jun 9, 2024 14:075,51982,914,40617,660,18802,297,856
12Jun 9, 2024 14:075,56792,433,38717,814,77402,306,048