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 26, 2024 20:58vientvientScore: 6,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:576,07285,085,76219,431,44202,199,552
2Jul 26, 2024 20:576,08486,812,72919,469,05502,203,648
3Jul 26, 2024 20:576,09043,954,94418,463,0001,025,0002,535,424
4Jul 26, 2024 20:576,11839,364,19918,547,0001,030,0002,449,408
5Jul 26, 2024 20:576,12345,243,33118,562,0001,031,0002,535,424
6Jul 26, 2024 20:576,13746,346,15618,606,0001,033,0002,273,280
7Jul 26, 2024 20:576,14150,352,54518,618,0001,034,0002,453,504
8Jul 26, 2024 20:576,15140,588,31818,647,0001,035,0002,273,280
9Jul 26, 2024 20:576,15344,531,15018,654,0001,036,0002,453,504
10Jul 26, 2024 20:576,21052,091,24917,885,0001,987,0002,449,408
11Jul 26, 2024 20:576,21045,914,07717,886,0001,987,0002,535,424
12Jul 26, 2024 20:576,35269,975,32720,327,63102,256,896
13Jul 26, 2024 20:586,35481,540,33820,333,03902,326,528
14Jul 26, 2024 20:586,38162,436,59020,419,72502,199,552
15Jul 26, 2024 20:586,408106,651,03220,505,25002,203,648