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 listJul 28, 2024 06:19HuynhHuynhScore: 5,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 06:195,32636,717,44116,041,0001,002,0002,531,328
2Jul 28, 2024 06:195,33137,421,84415,053,0002,007,0002,527,232
3Jul 28, 2024 06:195,34038,765,28016,083,0001,005,0002,531,328
4Jul 28, 2024 06:195,34836,412,88216,106,0001,006,0002,441,216
5Jul 28, 2024 06:195,35331,840,12515,113,0002,015,0002,269,184
6Jul 28, 2024 06:195,36039,496,51215,134,0002,017,0002,531,328
7Jul 28, 2024 06:195,36046,209,53616,143,0001,008,0002,527,232
8Jul 28, 2024 06:195,36740,069,78816,163,0001,010,0002,531,328
9Jul 28, 2024 06:195,45336,164,13117,448,00002,527,232
10Jul 28, 2024 06:195,65781,920,99518,102,11902,195,456
11Jul 28, 2024 06:195,674105,112,68118,155,38902,195,456
12Jul 28, 2024 06:195,68276,076,67718,181,72902,207,744