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 19:40Yuriy LyfenkoYuriy LyfenkoScore: 5,358Success
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 19:405,3208,208,597,94313,241,0003,783,0002,265,088
2May 17, 2021 19:405,3329,932,391,23416,060,0001,003,0002,269,184
3May 17, 2021 19:405,3356,594,718,47116,067,0001,004,0002,265,088
4May 17, 2021 19:405,33912,407,330,00414,238,0002,847,0002,527,232
5May 17, 2021 19:405,34114,597,803,27117,091,00002,396,160
6May 17, 2021 19:405,34314,688,514,06316,094,0001,005,0002,523,136
7May 17, 2021 19:405,3434,082,463,87516,092,0001,005,0002,523,136
8May 17, 2021 19:405,34613,931,609,74017,108,00002,523,136
9May 17, 2021 19:405,3487,864,246,11516,106,0001,006,0002,527,232
10May 17, 2021 19:405,3482,564,750,64417,113,00002,523,136
11May 17, 2021 19:405,35711,182,094,59217,143,00002,527,232
12May 17, 2021 19:405,3575,395,116,42216,133,0001,008,0002,265,088
13May 17, 2021 19:405,35810,914,493,24615,129,0002,017,0002,527,232
14May 17, 2021 19:405,36413,926,775,43515,258,0001,907,0002,527,232
15May 17, 2021 19:405,3666,893,308,80617,172,00002,265,088
16May 17, 2021 19:405,3714,459,456,11215,277,0001,909,0002,523,136
17May 17, 2021 19:405,3731,395,844,95815,282,0001,910,0002,269,184
18May 17, 2021 19:405,37612,395,812,69815,291,0001,911,0002,527,232
19May 17, 2021 19:405,5316,769,363,86117,700,08002,277,376
20May 17, 2021 19:405,5331,965,021,79117,707,05602,277,376
21May 17, 2021 19:405,5361,628,235,52417,716,54102,277,376
22May 17, 2021 19:405,54513,063,491,16717,744,26202,281,472
23May 17, 2021 19:405,5623,370,819,75617,797,12702,277,376
24May 17, 2021 19:405,5667,854,404,60517,811,21102,277,376