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 listJul 13, 2021 19:35Yuriy LyfenkoYuriy LyfenkoScore: 5,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:355,677545,576,32516,147,0002,018,0002,330,624
2Jul 13, 2021 19:355,690539,481,98415,174,0003,034,0002,330,624
3Jul 13, 2021 19:355,699542,355,88316,211,0002,026,0002,330,624
4Jul 13, 2021 19:355,710538,809,27816,241,0002,030,0002,334,720
5Jul 13, 2021 19:355,722537,800,56215,258,0003,051,0002,330,624
6Jul 13, 2021 19:355,723539,136,22415,262,0003,052,0002,330,624
7Jul 13, 2021 19:355,727542,141,69914,255,0004,072,0002,334,720
8Jul 13, 2021 19:355,740545,761,35615,307,0003,061,0002,330,624
9Jul 13, 2021 19:355,741577,286,06318,370,50102,224,128
10Jul 13, 2021 19:355,743541,284,72217,357,0001,021,0002,330,624
11Jul 13, 2021 19:355,749585,195,99918,397,43902,224,128
12Jul 13, 2021 19:355,778573,779,84318,489,02602,228,224