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 8, 2024 21:46AndreyTSAndreyTSScore: 5,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:465,30641,163,83614,981,0001,997,0002,265,088
2Jun 8, 2024 21:465,30743,880,98114,984,0001,997,0002,273,280
3Jun 8, 2024 21:465,30836,400,07714,989,0001,998,0002,527,232
4Jun 8, 2024 21:465,32039,678,81715,022,0002,002,0002,289,664
5Jun 8, 2024 21:465,32733,526,60016,043,0001,002,0002,289,664
6Jun 8, 2024 21:465,35338,004,60516,121,0001,007,0002,527,232
7Jun 8, 2024 21:465,35440,460,05516,125,0001,007,0002,527,232
8Jun 8, 2024 21:465,36444,498,71015,146,0002,019,0002,289,664
9Jun 8, 2024 21:465,37339,536,96516,181,0001,011,0002,359,296
10Jun 8, 2024 21:465,58068,156,27917,856,11202,306,048
11Jun 8, 2024 21:465,59875,209,39117,914,96802,293,760
12Jun 8, 2024 21:465,61289,144,89417,958,71602,301,952