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 listMay 17, 2021 23:40Yuriy LyfenkoYuriy LyfenkoScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:405,4082,192,516,86816,288,0001,018,0002,523,136
2May 17, 2021 23:405,4211,577,181,45715,307,0002,040,0002,523,136
3May 17, 2021 23:405,431604,896,90117,380,00002,387,968
4May 17, 2021 23:405,4321,148,824,73316,361,0001,022,0002,523,136
5May 17, 2021 23:405,4481,808,275,00516,465,000968,0002,523,136
6May 17, 2021 23:405,4491,284,392,56714,530,0002,906,0002,392,064
7May 17, 2021 23:405,457174,298,38415,521,0001,940,0002,265,088
8May 17, 2021 23:405,4591,712,875,26612,617,0004,852,0002,519,040
9May 17, 2021 23:405,4612,637,759,84817,474,00002,523,136
10May 17, 2021 23:405,6291,710,863,58818,011,70102,285,568
11May 17, 2021 23:405,639255,909,81318,043,42302,281,472
12May 17, 2021 23:405,653665,838,30118,089,82502,281,472