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 listMay 23, 2021 15:08Yuriy LyfenkoYuriy LyfenkoScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 15:085,26739,871,75915,863,000991,0002,289,664
2May 23, 2021 15:085,27342,614,53014,889,0001,985,0002,273,280
3May 23, 2021 15:085,27342,773,09915,883,000992,0002,531,328
4May 23, 2021 15:085,27433,848,06014,892,0001,985,0002,281,472
5May 23, 2021 15:085,27550,678,44214,894,0001,985,0002,269,184
6May 23, 2021 15:085,27747,230,47514,899,0001,986,0002,277,376
7May 23, 2021 15:085,28133,228,34614,910,0001,988,0002,289,664
8May 23, 2021 15:085,32536,127,66615,036,0002,004,0002,289,664
9May 23, 2021 15:085,33430,622,79115,060,0002,008,0002,281,472
10May 23, 2021 15:085,44377,720,28217,416,70302,293,760
11May 23, 2021 15:085,51586,235,40617,646,81202,293,760
12May 23, 2021 15:085,521100,553,99517,666,56102,174,976