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 13, 2024 18:24kytanskytansScore: 5,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 18:245,72835,537,97916,292,0002,036,0002,269,184
2Jul 13, 2024 18:245,72837,955,29117,312,0001,018,0002,269,184
3Jul 13, 2024 18:245,73637,327,48317,336,0001,019,0002,269,184
4Jul 13, 2024 18:245,75040,942,87617,377,0001,022,0002,396,160
5Jul 13, 2024 18:245,76141,470,70318,435,00002,396,160
6Jul 13, 2024 18:245,76537,402,66817,423,0001,024,0002,408,448
7Jul 13, 2024 18:245,76841,579,65518,457,00002,273,280
8Jul 13, 2024 18:245,77444,069,01617,451,0001,026,0002,400,256
9Jul 13, 2024 18:245,79037,115,32818,529,00002,269,184
10Jul 13, 2024 18:246,15585,524,06919,696,54002,297,856
11Jul 13, 2024 18:246,17880,743,87519,768,82902,174,976
12Jul 13, 2024 18:246,20684,573,70719,859,66902,301,952