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 18, 2024 12:15Matt StuchlikMatt StuchlikScore: 5,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 12:155,44639,819,02816,401,0001,025,0002,289,664
2Jul 18, 2024 12:155,46840,953,76816,470,0001,029,0002,289,664
3Jul 18, 2024 12:155,46944,049,99916,471,0001,029,0002,289,664
4Jul 18, 2024 12:155,47039,752,12016,476,0001,029,0002,289,664
5Jul 18, 2024 12:155,47145,131,27616,478,0001,029,0002,527,232
6Jul 18, 2024 12:155,47635,915,41316,494,0001,030,0002,285,568
7Jul 18, 2024 12:155,48739,806,87116,526,0001,032,0002,289,664
8Jul 18, 2024 12:155,49044,564,22016,536,0001,033,0002,269,184
9Jul 18, 2024 12:155,51337,612,20216,603,0001,037,0002,289,664
10Jul 18, 2024 12:155,71255,287,92118,277,94102,301,952
11Jul 18, 2024 12:155,74289,053,72018,373,45302,174,976
12Jul 18, 2024 12:155,76888,299,16218,459,04402,179,072