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 00:47Robert BurkeRobert BurkeScore: 4,600Success
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 00:474,55930,603,82013,546,0001,042,0002,441,216
2Jul 23, 2022 00:474,57644,281,62613,597,0001,045,0002,281,472
3Jul 23, 2022 00:474,57928,961,02113,606,0001,046,0002,441,216
4Jul 23, 2022 00:474,58031,608,37213,610,0001,046,0002,281,472
5Jul 23, 2022 00:474,58433,677,69613,622,0001,047,0002,281,472
6Jul 23, 2022 00:474,59234,642,78613,646,0001,049,0002,281,472
7Jul 23, 2022 00:474,60036,875,82813,669,0001,051,0002,453,504
8Jul 23, 2022 00:474,60627,835,97413,686,0001,052,0002,441,216
9Jul 23, 2022 00:474,65139,841,95012,899,0001,984,0002,281,472
10Jul 23, 2022 00:474,83186,232,95115,460,06302,220,032
11Jul 23, 2022 00:474,83376,436,13415,465,64802,199,552
12Jul 23, 2022 00:474,86378,880,25915,561,87702,207,744