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 7, 2024 17:42matsuoka-601matsuoka-601Score: 4,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:424,64543,595,58013,874,000991,0002,285,568
2Jun 7, 2024 17:424,64739,467,38013,880,000991,0002,408,448
3Jun 7, 2024 17:424,64731,822,05914,871,00002,404,352
4Jun 7, 2024 17:424,64839,652,47613,882,000991,0002,400,256
5Jun 7, 2024 17:424,65032,077,47014,880,00002,277,376
6Jun 7, 2024 17:424,65141,220,15013,890,000992,0002,285,568
7Jun 7, 2024 17:424,65834,376,96113,842,0001,064,0002,285,568
8Jun 7, 2024 17:424,66431,512,15912,935,0001,990,0002,285,568
9Jun 7, 2024 17:424,67443,911,97414,023,000934,0002,285,568
10Jun 7, 2024 17:424,89979,395,50215,677,11802,301,952
11Jun 7, 2024 17:424,92975,482,91815,771,72902,260,992
12Jun 7, 2024 17:425,04278,672,77816,135,62202,297,856