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 listMay 29, 2022 16:13Keichi TakahashiKeichi TakahashiScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:135,28443,755,42416,909,00002,387,968
2May 29, 2022 16:135,28646,199,18914,925,0001,990,0002,269,184
3May 29, 2022 16:135,31242,994,86715,998,000999,0002,265,088
4May 29, 2022 16:135,31437,615,58315,006,0002,000,0002,383,872
5May 29, 2022 16:135,32345,020,69016,031,0001,001,0002,265,088
6May 29, 2022 16:135,32435,788,86016,035,0001,002,0002,506,752
7May 29, 2022 16:135,33152,540,69316,057,0001,003,0002,265,088
8May 29, 2022 16:135,33831,734,88615,073,0002,009,0002,265,088
9May 29, 2022 16:135,34642,578,54715,094,0002,012,0002,265,088
10May 29, 2022 16:135,50156,430,47217,604,39602,273,280
11May 29, 2022 16:135,50468,947,77217,613,01102,281,472
12May 29, 2022 16:135,53389,897,73917,704,72702,285,568