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 7, 2024 07:58Huy Duc LeHuy Duc LeScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:584,64544,618,51313,873,000990,0002,265,088
2Mar 7, 2024 07:584,64534,651,96213,873,000990,0002,265,088
3Mar 7, 2024 07:584,64630,952,76814,867,00002,265,088
4Mar 7, 2024 07:584,64831,615,29312,891,0001,983,0002,392,064
5Mar 7, 2024 07:584,65033,001,26412,897,0001,984,0002,265,088
6Mar 7, 2024 07:584,65143,960,67213,891,000992,0002,383,872
7Mar 7, 2024 07:584,65346,057,63813,897,000992,0002,498,560
8Mar 7, 2024 07:584,65431,750,79413,829,0001,063,0002,392,064
9Mar 7, 2024 07:584,65530,938,33813,904,000993,0002,379,776
10Mar 7, 2024 07:584,85990,537,33415,547,85002,277,376
11Mar 7, 2024 07:584,86488,059,86015,566,21302,277,376
12Mar 7, 2024 07:584,87781,919,63515,605,02802,277,376