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 17:51Yuriy LyfenkoYuriy LyfenkoScore: 5,373Success
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 17:515,3261,329,577,99317,044,00002,260,992
2May 17, 2021 17:515,346325,863,30214,088,0003,018,0002,396,160
3May 17, 2021 17:515,353953,886,38016,123,0001,007,0002,527,232
4May 17, 2021 17:515,365380,560,51917,167,00002,269,184
5May 17, 2021 17:515,368930,931,24415,157,0002,020,0002,523,136
6May 17, 2021 17:515,370884,152,64416,230,000954,0002,265,088
7May 17, 2021 17:515,3731,920,265,34816,240,000955,0002,265,088
8May 17, 2021 17:515,3831,501,937,75816,214,0001,013,0002,265,088
9May 17, 2021 17:515,3841,007,669,41617,228,00002,523,136
10May 17, 2021 17:515,5611,905,382,02817,796,16102,281,472
11May 17, 2021 17:515,5671,479,278,47117,815,75702,281,472
12May 17, 2021 17:515,579935,876,43117,853,51602,277,376