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 21:53Jack FrigaardJack FrigaardScore: 5,288Success
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 21:535,06237,091,13714,173,0002,024,0002,531,328
2Jan 2, 2023 21:535,06345,418,01915,188,0001,012,0002,277,376
3Jan 2, 2023 21:535,06638,229,02214,184,0002,026,0002,269,184
4Jan 2, 2023 21:535,09840,878,18514,274,0002,039,0002,527,232
5Jan 2, 2023 21:535,10438,942,45314,293,0002,041,0002,527,232
6Jan 2, 2023 21:535,12036,980,44314,337,0002,048,0002,285,568
7Jan 2, 2023 21:535,28843,363,74215,926,000995,0002,514,944
8Jan 2, 2023 21:535,37385,694,02617,192,90302,289,664
9Jan 2, 2023 21:535,43845,868,49916,377,0001,023,0002,269,184
10Jan 2, 2023 21:535,45441,290,87016,426,0001,026,0002,285,568
11Jan 2, 2023 21:535,68872,241,06218,202,32302,293,760
12Jan 2, 2023 21:535,69181,390,62418,210,27902,297,856