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 18:13matsuoka-601matsuoka-601Score: 4,655Success
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 18:134,64639,215,94513,876,000991,0002,285,568
2Jun 9, 2024 18:134,64834,356,57612,891,0001,983,0002,285,568
3Jun 9, 2024 18:134,64931,965,86813,885,000991,0002,285,568
4Jun 9, 2024 18:134,65043,088,80113,888,000992,0002,285,568
5Jun 9, 2024 18:134,65131,901,76212,900,0001,984,0002,400,256
6Jun 9, 2024 18:134,65228,069,74212,901,0001,984,0002,523,136
7Jun 9, 2024 18:134,65530,328,52413,903,000993,0002,285,568
8Jun 9, 2024 18:134,66229,840,99312,930,0001,989,0002,285,568
9Jun 9, 2024 18:134,66333,083,39512,933,0001,989,0002,285,568
10Jun 9, 2024 18:134,91461,270,58715,725,27802,174,976
11Jun 9, 2024 18:134,93377,445,78415,784,69002,174,976
12Jun 9, 2024 18:134,94497,734,23415,821,52802,174,976