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 listApr 5, 2024 00:41Christopher TarryChristopher TarryScore: 5,521Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2024 00:415,47333,450,62316,483,0001,030,0002,527,232
2Apr 5, 2024 00:415,48136,716,77616,508,0001,031,0002,392,064
3Apr 5, 2024 00:415,49735,189,43616,556,0001,034,0002,383,872
4Apr 5, 2024 00:415,50538,250,11316,580,0001,036,0002,265,088
5Apr 5, 2024 00:415,51243,459,22217,637,00002,265,088
6Apr 5, 2024 00:415,51236,658,63416,602,0001,037,0002,265,088
7Apr 5, 2024 00:415,52142,342,01017,668,00002,494,464
8Apr 5, 2024 00:415,53241,743,30216,662,0001,041,0002,383,872
9Apr 5, 2024 00:415,54446,468,90316,698,0001,043,0002,383,872
10Apr 5, 2024 00:415,729100,790,02818,331,48402,293,760
11Apr 5, 2024 00:415,75575,148,99918,414,84702,281,472
12Apr 5, 2024 00:415,75989,367,81318,429,70902,281,472