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 listFeb 29, 2024 06:50Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 29, 2024 06:505,41481,830,15317,325,56702,293,760
2Feb 29, 2024 06:515,41578,722,36517,328,72202,285,568
3Feb 29, 2024 06:505,41880,749,00017,336,98502,293,760
4Feb 29, 2024 06:505,43877,899,95517,401,71002,297,856
5Feb 29, 2024 06:515,44257,512,67417,413,17102,297,856
6Feb 29, 2024 06:515,450101,443,14217,441,47102,297,856
7Feb 29, 2024 06:515,47842,297,54516,497,0001,031,0002,281,472
8Feb 29, 2024 06:505,49939,337,39716,562,0001,035,0002,281,472
9Feb 29, 2024 06:515,50140,051,36516,569,0001,035,0002,281,472
10Feb 29, 2024 06:505,50336,323,99216,574,0001,035,0002,281,472
11Feb 29, 2024 06:515,50442,655,82717,613,00002,281,472
12Feb 29, 2024 06:515,50440,204,79616,578,0001,036,0002,396,160
13Feb 29, 2024 06:515,51040,420,29716,595,0001,037,0002,404,352
14Feb 29, 2024 06:505,51139,550,25516,597,0001,037,0002,281,472
15Feb 29, 2024 06:505,51545,696,76817,649,00002,281,472
16Feb 29, 2024 06:505,52147,570,88616,629,0001,039,0002,281,472
17Feb 29, 2024 06:515,52735,585,81617,687,00002,396,160
18Feb 29, 2024 06:505,52940,974,08016,653,0001,040,0002,408,448
19Feb 29, 2024 06:505,52944,819,34017,692,00002,281,472
20Feb 29, 2024 06:505,52934,587,93216,652,0001,040,0002,281,472
21Feb 29, 2024 06:515,53143,746,35316,659,0001,041,0002,396,160
22Feb 29, 2024 06:505,53446,180,13317,708,00002,510,848
23Feb 29, 2024 06:515,54044,804,37617,729,00002,387,968
24Feb 29, 2024 06:515,57947,105,25615,871,0001,983,0002,281,472