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:51Anılcan GülkayaAnılcan GülkayaScore: 5,584Success
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:515,50150,963,85116,569,0001,035,0002,383,872
2Jul 3, 2023 14:515,52145,886,86217,667,00002,383,872
3Jul 3, 2023 14:515,53336,677,76716,664,0001,041,0002,265,088
4Jul 3, 2023 14:515,53347,697,09616,665,0001,041,0002,265,088
5Jul 3, 2023 14:515,57939,563,09715,869,0001,983,0002,387,968
6Jul 3, 2023 14:515,58145,086,73916,867,000992,0002,387,968
7Jul 3, 2023 14:515,58437,934,57816,877,000992,0002,265,088
8Jul 3, 2023 14:515,58434,636,80916,878,000992,0002,265,088
9Jul 3, 2023 14:515,58839,377,63115,894,0001,986,0002,387,968
10Jul 3, 2023 14:515,96266,984,54419,078,86302,285,568
11Jul 3, 2023 14:515,99386,728,65319,178,84402,281,472
12Jul 3, 2023 14:516,00374,652,54519,208,88402,273,280