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 listJan 2, 2023 16:45Jack FrigaardJack FrigaardScore: 5,914Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:455,85147,924,50117,682,0001,040,0002,527,232
2Jan 2, 2023 16:455,89146,161,47916,866,0001,984,0002,269,184
3Jan 2, 2023 16:455,89851,352,30516,887,0001,986,0002,285,568
4Jan 2, 2023 16:455,89841,061,62316,889,0001,986,0002,285,568
5Jan 2, 2023 16:455,90045,546,68716,893,0001,987,0002,523,136
6Jan 2, 2023 16:455,90049,610,88017,887,000993,0002,527,232
7Jan 2, 2023 16:455,91440,519,65116,933,0001,992,0002,285,568
8Jan 2, 2023 16:455,91540,692,08817,877,0001,051,0002,285,568
9Jan 2, 2023 16:455,92141,508,59616,954,0001,994,0002,523,136
10Jan 2, 2023 16:456,11884,824,88619,578,25202,289,664
11Jan 2, 2023 16:456,12983,885,61719,612,77502,297,856
12Jan 2, 2023 16:456,13297,772,62219,621,05702,293,760