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 19, 2023 21:31Ulyanov AlekseyUlyanov AlekseyScore: 5,915Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:315,89344,420,02116,872,0001,984,0002,289,664
2Jun 19, 2023 21:315,89745,950,95418,871,00002,277,376
3Jun 19, 2023 21:315,89850,182,98016,886,0001,986,0002,289,664
4Jun 19, 2023 21:315,90033,822,34216,894,0001,987,0002,289,664
5Jun 19, 2023 21:315,90151,495,09417,889,000993,0002,289,664
6Jun 19, 2023 21:315,90442,597,92817,899,000994,0002,289,664
7Jun 19, 2023 21:315,91536,700,82617,933,000996,0002,531,328
8Jun 19, 2023 21:315,91755,814,55016,941,0001,993,0002,269,184
9Jun 19, 2023 21:315,92136,127,08616,952,0001,994,0002,289,664
10Jun 19, 2023 21:316,06183,091,40219,396,12402,301,952
11Jun 19, 2023 21:316,08192,717,02519,459,95502,297,856
12Jun 19, 2023 21:316,08185,302,20619,459,73602,179,072