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 17, 2023 14:11Alexander MonakovAlexander MonakovScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 14:115,28544,865,64814,923,0001,989,0002,273,280
2Mar 17, 2023 14:115,30131,461,33715,965,000997,0002,498,560
3Mar 17, 2023 14:115,30632,789,26115,982,000998,0002,273,280
4Mar 17, 2023 14:115,30838,678,21613,990,0002,997,0002,498,560
5Mar 17, 2023 14:115,31044,522,19715,994,000999,0002,498,560
6Mar 17, 2023 14:115,31642,266,20415,009,0002,001,0002,535,424
7Mar 17, 2023 14:115,31839,911,00316,018,0001,001,0002,273,280
8Mar 17, 2023 14:115,34236,863,58416,089,0001,005,0002,494,464
9Mar 17, 2023 14:115,34439,429,99516,095,0001,005,0002,535,424
10Mar 17, 2023 14:115,53274,214,21217,702,48902,240,512
11Mar 17, 2023 14:115,53859,844,55117,722,71702,244,608
12Mar 17, 2023 14:115,552105,752,02017,766,96302,248,704