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 listMar 16, 2023 08:54Alexander MonakovAlexander MonakovScore: 5,082Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 08:545,04039,821,67615,120,0001,008,0002,277,376
2Mar 16, 2023 08:545,06435,597,44215,194,0001,012,0002,494,464
3Mar 16, 2023 08:545,06842,005,25916,218,00002,277,376
4Mar 16, 2023 08:545,07132,607,56115,214,0001,014,0002,494,464
5Mar 16, 2023 08:545,07337,761,89015,218,0001,014,0002,277,376
6Mar 16, 2023 08:545,08042,706,34316,255,00002,494,464
7Mar 16, 2023 08:545,08239,870,64516,263,00002,277,376
8Mar 16, 2023 08:545,09132,362,71115,274,0001,018,0002,277,376
9Mar 16, 2023 08:545,10141,561,96516,324,00002,498,560
10Mar 16, 2023 08:545,26887,346,71916,858,00402,236,416
11Mar 16, 2023 08:545,28864,869,50616,921,41902,240,512
12Mar 16, 2023 08:545,30989,134,05316,988,47002,248,704