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 20, 2025 23:55T PrathamT PrathamScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2025 23:555,45943,644,09517,470,00002,289,664
2Jun 20, 2025 23:555,46543,536,24316,459,0001,028,0002,269,184
3Jun 20, 2025 23:555,46836,440,58816,470,0001,029,0002,289,664
4Jun 20, 2025 23:555,47039,452,15816,474,0001,029,0002,289,664
5Jun 20, 2025 23:555,47443,944,07816,487,0001,030,0002,289,664
6Jun 20, 2025 23:555,49746,363,04116,613,000977,0002,289,664
7Jun 20, 2025 23:555,52043,739,07316,625,0001,039,0002,277,376
8Jun 20, 2025 23:555,53045,447,76216,656,0001,041,0002,289,664
9Jun 20, 2025 23:555,53341,716,37316,664,0001,041,0002,277,376