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 listJan 22, 2024 09:21Alexander MonakovAlexander MonakovScore: 4,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:214,64740,918,04613,880,000991,0002,535,424
2Jan 22, 2024 09:214,64734,316,26913,880,000991,0002,494,464
3Jan 22, 2024 09:214,64837,001,96513,884,000991,0002,277,376
4Jan 22, 2024 09:214,65128,324,25613,892,000992,0002,277,376
5Jan 22, 2024 09:214,65342,723,45414,891,00002,490,368
6Jan 22, 2024 09:214,65445,765,86213,901,000992,0002,277,376
7Jan 22, 2024 09:214,65845,087,65113,912,000993,0002,277,376
8Jan 22, 2024 09:214,65936,383,93912,922,0001,988,0002,498,560
9Jan 22, 2024 09:214,69242,950,46613,013,0002,002,0002,277,376
10Jan 22, 2024 09:214,83859,485,26515,480,28302,260,992
11Jan 22, 2024 09:214,89876,123,61915,673,49502,240,512
12Jan 22, 2024 09:214,89968,065,14515,677,05802,248,704