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 listJun 9, 2024 14:43AndreyTSAndreyTSScore: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:435,26634,497,66515,860,000991,0002,289,664
2Jun 9, 2024 14:435,27238,637,08014,886,0001,984,0002,273,280
3Jun 9, 2024 14:435,27439,842,70614,893,0001,985,0002,289,664
4Jun 9, 2024 14:435,28237,722,43714,915,0001,988,0002,351,104
5Jun 9, 2024 14:435,28738,502,81615,861,0001,057,0002,277,376
6Jun 9, 2024 14:435,29435,683,70614,949,0001,993,0002,527,232
7Jun 9, 2024 14:435,29541,681,35114,952,0001,993,0002,363,392
8Jun 9, 2024 14:435,29839,744,10714,960,0001,994,0002,379,776
9Jun 9, 2024 14:435,30839,275,51514,988,0001,998,0002,273,280
10Jun 9, 2024 14:435,47563,486,09617,520,51502,289,664
11Jun 9, 2024 14:435,514100,273,94417,643,37702,301,952
12Jun 9, 2024 14:435,52886,557,88017,688,74902,179,072