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 listJul 8, 2023 16:26Andrew MoonAndrew MoonScore: 5,333Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 16:265,28032,691,62915,903,000993,0002,392,064
2Jul 8, 2023 16:265,28244,660,70715,909,000994,0002,265,088
3Jul 8, 2023 16:265,29344,687,86614,945,0001,992,0002,265,088
4Jul 8, 2023 16:265,29841,534,60214,959,0001,994,0002,387,968
5Jul 8, 2023 16:265,31043,528,09114,992,0001,999,0002,265,088
6Jul 8, 2023 16:265,33241,558,15015,056,0002,007,0002,387,968
7Jul 8, 2023 16:265,33346,422,29015,057,0002,007,0002,265,088
8Jul 8, 2023 16:265,34241,992,06615,084,0002,011,0002,265,088
9Jul 8, 2023 16:265,34637,799,86515,094,0002,012,0002,265,088
10Jul 8, 2023 16:265,49793,825,05517,589,30202,285,568
11Jul 8, 2023 16:265,50865,506,71917,624,31202,277,376
12Jul 8, 2023 16:265,52086,382,75417,665,01602,240,512