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 listOct 20, 2023 14:27LukasLukasScore: 5,748Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2023 14:275,67642,217,59116,146,0002,018,0002,289,664
2Oct 20, 2023 14:275,69841,548,21216,209,0002,026,0002,269,184
3Oct 20, 2023 14:275,70743,006,59116,234,0002,029,0002,269,184
4Oct 20, 2023 14:275,71741,707,12316,261,0002,032,0002,527,232
5Oct 20, 2023 14:275,73840,962,51917,341,0001,020,0002,527,232
6Oct 20, 2023 14:275,73938,652,35716,324,0002,040,0002,289,664
7Oct 20, 2023 14:275,74843,070,47017,372,0001,021,0002,289,664
8Oct 20, 2023 14:275,75851,383,04117,402,0001,023,0002,289,664
9Oct 20, 2023 14:275,77334,739,70317,449,0001,026,0002,289,664
10Oct 20, 2023 14:276,09680,221,81219,505,64602,297,856
11Oct 20, 2023 14:276,09698,574,60419,508,53402,293,760
12Oct 20, 2023 14:276,10895,618,21619,545,22202,297,856