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 27, 2022 14:20Robert BurkeRobert BurkeScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:204,43327,344,28312,161,0002,026,0002,277,376
2Jul 27, 2022 14:204,43532,888,99412,164,0002,027,0002,281,472
3Jul 27, 2022 14:204,43531,653,72312,164,0002,027,0002,281,472
4Jul 27, 2022 14:204,43734,980,33212,170,0002,028,0002,445,312
5Jul 27, 2022 14:204,44231,124,70212,185,0002,030,0002,281,472
6Jul 27, 2022 14:204,44829,547,32614,234,00002,449,408
7Jul 27, 2022 14:204,45328,874,71712,214,0002,035,0002,281,472
8Jul 27, 2022 14:204,46028,694,04213,253,0001,019,0002,281,472
9Jul 27, 2022 14:204,46534,216,88513,267,0001,020,0002,281,472
10Jul 27, 2022 14:204,69677,045,49315,025,84702,199,552
11Jul 27, 2022 14:204,70288,846,96215,047,61702,211,840
12Jul 27, 2022 14:204,71967,784,40415,100,83902,199,552