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 30, 2024 10:31AnSaAnSaScore: 5,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:315,73733,326,31616,318,0002,039,0002,277,376
2Jun 30, 2024 10:315,74842,586,79016,349,0002,043,0002,289,664
3Jun 30, 2024 10:315,75050,523,97218,399,00002,265,088
4Jun 30, 2024 10:315,75137,115,71317,380,0001,022,0002,273,280
5Jun 30, 2024 10:315,77344,527,87616,420,0002,052,0002,289,664
6Jun 30, 2024 10:315,77541,183,32317,453,0001,026,0002,269,184
7Jun 30, 2024 10:315,79338,363,89717,508,0001,029,0002,289,664
8Jun 30, 2024 10:315,79744,058,83517,520,0001,030,0002,289,664
9Jun 30, 2024 10:315,80541,152,24717,545,0001,032,0002,289,664
10Jun 30, 2024 10:315,96295,957,91319,077,59302,285,568
11Jun 30, 2024 10:315,99187,135,03219,171,85502,293,760
12Jun 30, 2024 10:316,03691,724,42919,314,72302,297,856