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:19Yuriy LyfenkoYuriy LyfenkoScore: 5,713Success
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:195,663541,239,05115,102,0003,020,0002,330,624
2Jul 13, 2021 19:195,683542,111,36316,166,0002,020,0002,523,136
3Jul 13, 2021 19:195,696582,807,59818,225,61102,252,800
4Jul 13, 2021 19:195,696544,797,60215,190,0003,038,0002,330,624
5Jul 13, 2021 19:195,697538,965,00915,192,0003,038,0002,330,624
6Jul 13, 2021 19:195,699540,104,60416,210,0002,026,0002,330,624
7Jul 13, 2021 19:195,713542,459,36116,251,0002,031,0002,330,624
8Jul 13, 2021 19:195,728570,039,93618,328,86502,228,224
9Jul 13, 2021 19:195,742546,497,43515,311,0003,062,0002,330,624
10Jul 13, 2021 19:195,746552,395,68017,365,0001,021,0002,330,624
11Jul 13, 2021 19:195,771539,701,03717,441,0001,025,0002,519,040
12Jul 13, 2021 19:195,778586,833,05518,489,24302,252,800