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 listDec 6, 2023 11:42Viktor IarmolaViktor IarmolaScore: 5,889Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:425,79540,301,34517,515,0001,030,0002,281,472
2Dec 6, 2023 11:425,83043,443,01717,621,0001,036,0002,277,376
3Dec 6, 2023 11:425,83143,099,54417,622,0001,036,0002,293,760
4Dec 6, 2023 11:425,83242,378,07117,627,0001,036,0002,277,376
5Dec 6, 2023 11:425,83644,807,61817,637,0001,037,0002,281,472
6Dec 6, 2023 11:425,84343,651,58917,659,0001,038,0002,293,760
7Dec 6, 2023 11:425,88949,312,12716,863,0001,983,0002,293,760
8Dec 6, 2023 11:425,89744,427,83716,883,0001,986,0002,281,472
9Dec 6, 2023 11:425,90048,426,52516,892,0001,987,0002,281,472
10Dec 6, 2023 11:426,01396,582,16719,241,57702,306,048
11Dec 6, 2023 11:426,05390,217,88019,369,01402,174,976
12Dec 6, 2023 11:426,07389,746,45919,432,31202,301,952