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 listApr 10, 2024 19:37Robert BlackwellRobert BlackwellScore: 5,953Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 19:375,91235,202,77816,927,0001,991,0002,387,968
2Apr 10, 2024 19:375,92544,656,41217,963,000997,0002,519,040
3Apr 10, 2024 19:375,94237,222,74118,014,0001,000,0002,387,968
4Apr 10, 2024 19:375,94448,455,04618,019,0001,001,0002,260,992
5Apr 10, 2024 19:375,94845,380,78218,032,0001,001,0002,519,040
6Apr 10, 2024 19:375,94936,135,86817,033,0002,003,0002,392,064
7Apr 10, 2024 19:375,95347,748,96318,046,0001,002,0002,387,968
8Apr 10, 2024 19:375,96245,087,00716,067,0003,012,0002,519,040
9Apr 10, 2024 19:375,97736,222,21518,120,0001,006,0002,387,968
10Apr 10, 2024 19:376,06593,440,09919,408,99702,281,472
11Apr 10, 2024 19:376,10188,621,76919,522,46702,277,376
12Apr 10, 2024 19:376,11386,800,15419,561,44202,289,664