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 listAug 8, 2024 23:20Casper BelierCasper BelierScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2024 23:205,69075,777,35918,207,91302,297,856
2Aug 8, 2024 23:205,69392,755,01518,217,24002,174,976
3Aug 8, 2024 23:205,70293,856,30418,244,88402,256,896
4Aug 8, 2024 23:205,88749,186,63217,848,000991,0002,289,664
5Aug 8, 2024 23:205,89045,409,11017,857,000992,0002,269,184
6Aug 8, 2024 23:205,89644,873,62618,867,00002,519,040
7Aug 8, 2024 23:205,89842,667,88616,886,0001,986,0002,273,280
8Aug 8, 2024 23:205,89847,133,62816,888,0001,986,0002,273,280
9Aug 8, 2024 23:205,89844,987,70216,889,0001,986,0002,527,232
10Aug 8, 2024 23:205,89950,138,24017,884,000993,0002,289,664
11Aug 8, 2024 23:205,89943,636,35716,891,0001,987,0002,273,280
12Aug 8, 2024 23:205,92242,812,41716,955,0001,994,0002,289,664