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 19, 2022 17:57Eugene ZhydzetskiEugene ZhydzetskiScore: 6,110Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 17:576,06243,983,11619,397,00002,535,424
2Aug 19, 2022 17:576,07643,151,74319,443,00002,543,616
3Aug 19, 2022 17:576,08140,561,98419,459,00002,334,720
4Aug 19, 2022 17:576,08940,043,69719,484,00002,543,616
5Aug 19, 2022 17:576,08940,210,21517,433,0002,051,0002,535,424
6Aug 19, 2022 17:576,10240,340,07717,472,0002,055,0002,334,720
7Aug 19, 2022 17:576,11045,223,46419,552,00002,334,720
8Aug 19, 2022 17:576,123104,685,99119,593,71602,236,416
9Aug 19, 2022 17:576,12340,598,74718,564,0001,031,0002,285,568
10Aug 19, 2022 17:576,12446,363,03819,597,00002,535,424
11Aug 19, 2022 17:576,22868,791,35619,930,18102,244,608
12Aug 19, 2022 17:576,26880,261,60520,058,67902,244,608