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:43T PrathamT PrathamScore: 5,783Success
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:435,74645,639,59917,367,0001,021,0002,289,664
2Jun 20, 2025 23:435,75743,847,51116,375,0002,046,0002,289,664
3Jun 20, 2025 23:435,76346,269,36617,419,0001,024,0002,510,848
4Jun 20, 2025 23:435,77042,031,51518,465,00002,289,664
5Jun 20, 2025 23:435,78340,863,12717,476,0001,028,0002,289,664
6Jun 20, 2025 23:435,80039,729,02917,528,0001,031,0002,281,472
7Jun 20, 2025 23:435,80134,285,53617,533,0001,031,0002,289,664
8Jun 20, 2025 23:435,81145,309,92916,638,0001,957,0002,289,664
9Jun 20, 2025 23:435,81839,018,63417,582,0001,034,0002,269,184