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 23, 2022 08:28Robert BurkeRobert BurkeScore: 4,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 08:284,58339,734,00713,619,0001,047,0002,281,472
2Jul 23, 2022 08:284,58841,069,49713,634,0001,048,0002,281,472
3Jul 23, 2022 08:284,59234,392,55513,645,0001,049,0002,281,472
4Jul 23, 2022 08:284,59729,846,85413,660,0001,050,0002,277,376
5Jul 23, 2022 08:284,59836,684,08513,663,0001,051,0002,441,216
6Jul 23, 2022 08:284,59929,703,14313,666,0001,051,0002,281,472
7Jul 23, 2022 08:284,60528,129,73013,683,0001,052,0002,445,312
8Jul 23, 2022 08:284,64537,048,93212,882,0001,981,0002,535,424
9Jul 23, 2022 08:284,65232,017,61912,901,0001,984,0002,281,472
10Jul 23, 2022 08:284,83064,764,32115,454,46302,199,552
11Jul 23, 2022 08:284,83290,069,73815,463,52702,211,840
12Jul 23, 2022 08:284,83876,389,70415,482,54102,199,552