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 17, 2023 22:09Ulyanov AlekseyUlyanov AlekseyScore: 5,729Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:095,67946,266,99116,153,0002,019,0002,273,280
2Jun 17, 2023 22:095,68044,984,09016,158,0002,019,0002,531,328
3Jun 17, 2023 22:095,68441,252,20517,179,0001,010,0002,527,232
4Jun 17, 2023 22:095,68543,699,54016,172,0002,021,0002,289,664
5Jun 17, 2023 22:095,69340,491,83116,195,0002,024,0002,269,184
6Jun 17, 2023 22:095,71840,765,96616,264,0002,033,0002,289,664
7Jun 17, 2023 22:095,72945,092,80517,316,0001,018,0002,289,664
8Jun 17, 2023 22:095,72945,050,42216,297,0002,037,0002,289,664
9Jun 17, 2023 22:095,73642,397,53816,315,0002,039,0002,289,664
10Jun 17, 2023 22:095,85457,044,78518,731,39902,301,952
11Jun 17, 2023 22:095,86987,754,98018,781,56302,297,856
12Jun 17, 2023 22:095,903102,308,13918,889,84102,297,856