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 10, 2024 17:03Drew GarciaDrew GarciaScore: 5,578Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:035,50645,149,41916,582,0001,036,0002,281,472
2Apr 10, 2024 17:035,52252,086,53516,632,0001,039,0002,289,664
3Apr 10, 2024 17:035,53243,761,50015,620,0002,082,0002,281,472
4Apr 10, 2024 17:035,53642,669,39116,674,0001,042,0002,281,472
5Apr 10, 2024 17:035,54446,995,78817,740,00002,281,472
6Apr 10, 2024 17:035,57643,416,14114,869,0002,973,0002,281,472
7Apr 10, 2024 17:035,57845,787,43316,858,000991,0002,281,472
8Apr 10, 2024 17:035,58345,776,16914,887,0002,977,0002,281,472
9Apr 10, 2024 17:035,58745,886,59415,891,0001,986,0002,281,472
10Apr 10, 2024 17:035,82495,323,00618,636,13802,174,976
11Apr 10, 2024 17:035,82575,198,27718,640,68602,306,048
12Apr 10, 2024 17:035,89184,792,03018,850,39802,174,976