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:31Eugene ZhydzetskiEugene ZhydzetskiScore: 6,040Success
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:315,89297,627,91618,855,49802,240,512
2Aug 19, 2022 17:316,02143,499,43717,239,0002,028,0002,535,424
3Aug 19, 2022 17:316,03339,957,47916,256,0003,048,0002,334,720
4Aug 19, 2022 17:316,03445,316,46617,278,0002,032,0002,334,720
5Aug 19, 2022 17:316,03840,352,52715,254,0004,067,0002,535,424
6Aug 19, 2022 17:316,04045,680,02518,311,0001,017,0002,535,424
7Aug 19, 2022 17:316,04042,152,42517,294,0002,034,0002,334,720
8Aug 19, 2022 17:316,05337,668,13916,313,0003,058,0002,334,720
9Aug 19, 2022 17:316,08643,250,95519,475,00002,334,720
10Aug 19, 2022 17:316,08642,381,94019,476,00002,531,328
11Aug 19, 2022 17:316,09879,832,06819,512,23502,232,320
12Aug 19, 2022 17:316,15684,129,14819,699,93402,236,416