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 listJun 8, 2024 21:20AndreyTSAndreyTSScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:205,21541,667,96915,645,0001,043,0002,273,280
2Jun 8, 2024 21:205,21641,528,04615,648,0001,043,0002,277,376
3Jun 8, 2024 21:205,22339,130,74715,670,0001,044,0002,289,664
4Jun 8, 2024 21:205,25836,079,43715,835,000989,0002,269,184
5Jun 8, 2024 21:205,27042,934,19115,873,000992,0002,289,664
6Jun 8, 2024 21:205,27240,428,09614,885,0001,984,0002,273,280
7Jun 8, 2024 21:205,27342,915,08815,881,000992,0002,265,088
8Jun 8, 2024 21:205,28342,123,15915,848,0001,056,0002,277,376
9Jun 8, 2024 21:205,31337,780,92715,003,0002,000,0002,289,664
10Jun 8, 2024 21:205,502100,483,49217,606,59902,301,952
11Jun 8, 2024 21:205,50482,728,66417,612,22902,301,952
12Jun 8, 2024 21:205,50965,031,24117,629,66202,314,240