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 22, 2022 23:17Robert BurkeRobert BurkeScore: 4,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:174,69827,948,36213,031,0002,004,0002,281,472
2Jul 22, 2022 23:174,71241,873,11713,067,0002,010,0002,281,472
3Jul 22, 2022 23:174,71448,327,39713,075,0002,011,0002,281,472
4Jul 22, 2022 23:174,71734,403,63913,082,0002,012,0002,281,472
5Jul 22, 2022 23:174,72237,534,25513,096,0002,014,0002,449,408
6Jul 22, 2022 23:174,72331,396,70413,097,0002,015,0002,457,600
7Jul 22, 2022 23:174,73338,084,58313,127,0002,019,0002,281,472
8Jul 22, 2022 23:174,73728,478,58213,138,0002,021,0002,277,376
9Jul 22, 2022 23:174,74930,082,10213,172,0002,026,0002,273,280
10Jul 22, 2022 23:174,89368,712,87815,657,25202,211,840
11Jul 22, 2022 23:174,89759,421,16815,669,26802,199,552
12Jul 22, 2022 23:174,93174,733,17315,780,32902,215,936