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 listSep 7, 2022 02:14Yuriy LyfenkoYuriy LyfenkoScore: 4,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:144,434537,043,42913,175,0001,013,0002,527,232
2Sep 7, 2022 02:144,434541,146,13212,163,0002,027,0002,265,088
3Sep 7, 2022 02:144,435538,042,35613,179,0001,013,0002,523,136
4Sep 7, 2022 02:144,446534,095,92013,211,0001,016,0002,260,992
5Sep 7, 2022 02:144,468537,373,85313,277,0001,021,0002,260,992
6Sep 7, 2022 02:144,468538,917,09614,299,00002,265,088
7Sep 7, 2022 02:144,469537,537,67213,280,0001,021,0002,265,088
8Sep 7, 2022 02:144,473535,518,39913,290,0001,022,0002,265,088
9Sep 7, 2022 02:144,493539,212,01513,351,0001,027,0002,260,992
10Sep 7, 2022 02:144,617574,764,26314,775,09002,277,376
11Sep 7, 2022 02:144,630575,249,19614,816,51902,281,472
12Sep 7, 2022 02:144,641592,798,34714,852,55102,240,512