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 19:14джулисджулисScore: 5,579Success
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 19:145,52037,975,79417,665,00002,293,760
2Jun 8, 2024 19:145,52847,680,24616,650,0001,040,0002,371,584
3Jun 8, 2024 19:145,53444,826,75016,668,0001,041,0002,375,680
4Jun 8, 2024 19:145,53446,833,75617,710,00002,293,760
5Jun 8, 2024 19:145,53644,372,90417,716,00002,371,584
6Jun 8, 2024 19:145,57632,861,71215,860,0001,982,0002,371,584
7Jun 8, 2024 19:145,57945,182,20316,863,000991,0002,293,760
8Jun 8, 2024 19:145,59049,059,89715,900,0001,987,0002,293,760
9Jun 8, 2024 19:145,59346,450,35616,904,000994,0002,293,760
10Jun 8, 2024 19:145,75495,168,32918,411,26802,240,512
11Jun 8, 2024 19:145,76499,338,15518,444,45102,232,320
12Jun 8, 2024 19:145,82897,477,69718,648,12202,244,608