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 3, 2023 14:41Anılcan GülkayaAnılcan GülkayaScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 14:415,50240,036,97517,607,00002,375,680
2Jul 3, 2023 14:415,50341,386,05117,610,00002,396,160
3Jul 3, 2023 14:415,51145,094,69217,634,00002,383,872
4Jul 3, 2023 14:415,53345,814,12216,664,0001,041,0002,265,088
5Jul 3, 2023 14:415,58038,014,38116,864,000992,0002,387,968
6Jul 3, 2023 14:415,58652,704,18716,882,000993,0002,387,968
7Jul 3, 2023 14:415,58843,368,07715,895,0001,986,0002,478,080
8Jul 3, 2023 14:415,58843,499,53216,890,000993,0002,265,088
9Jul 3, 2023 14:415,59343,231,19016,903,000994,0002,502,656
10Jul 3, 2023 14:415,95977,100,34219,067,78902,277,376
11Jul 3, 2023 14:415,95996,127,36019,069,63702,277,376
12Jul 3, 2023 14:416,00180,571,40719,204,12702,277,376