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:48Anılcan GülkayaAnılcan GülkayaScore: 5,522Success
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:485,42732,884,25516,346,0001,021,000167,936
2Jul 3, 2023 14:485,47335,081,18016,485,0001,030,000430,080
3Jul 3, 2023 14:485,48638,533,41217,555,0000299,008
4Jul 3, 2023 14:485,49839,006,80617,594,00002,383,872
5Jul 3, 2023 14:485,51846,779,40116,619,0001,038,0002,383,872
6Jul 3, 2023 14:485,52034,532,61116,625,0001,039,0002,265,088
7Jul 3, 2023 14:485,52252,405,17716,632,0001,039,0002,265,088
8Jul 3, 2023 14:485,53651,164,69717,714,00002,265,088
9Jul 3, 2023 14:485,53743,488,64016,676,0001,042,0002,375,680
10Jul 3, 2023 14:485,94494,610,67519,021,09902,277,376
11Jul 3, 2023 14:485,98081,891,47719,134,89002,277,376
12Jul 3, 2023 14:485,99799,116,98219,189,91002,285,568