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 8, 2024 20:47AndreyTSAndreyTSScore: 5,929Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:475,89643,739,17918,866,00002,273,280
2Jun 8, 2024 20:475,89746,882,79116,884,0001,986,0002,289,664
3Jun 8, 2024 20:475,90245,286,57616,899,0001,988,0002,269,184
4Jun 8, 2024 20:475,90940,709,71517,860,0001,050,0002,277,376
5Jun 8, 2024 20:475,91642,293,32116,938,0001,992,0002,289,664
6Jun 8, 2024 20:475,92845,315,99816,973,0001,996,0002,289,664
7Jun 8, 2024 20:475,92948,174,69516,977,0001,997,0002,404,352
8Jun 8, 2024 20:475,95935,159,65417,063,0002,007,0002,289,664
9Jun 8, 2024 20:475,97942,052,84918,126,0001,007,0002,289,664
10Jun 8, 2024 20:476,10891,720,19519,544,37702,297,856
11Jun 8, 2024 20:476,14783,787,45119,670,13202,179,072
12Jun 8, 2024 20:476,16886,620,90919,736,49802,301,952