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 21:10джулисджулисScore: 5,332Success
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 21:105,28543,737,49414,924,0001,989,0002,363,392
2Jun 9, 2024 21:105,29841,007,17115,958,000997,0002,375,680
3Jun 9, 2024 21:105,30252,439,81114,971,0001,996,0002,375,680
4Jun 9, 2024 21:105,30542,790,04015,979,000998,0002,293,760
5Jun 9, 2024 21:105,30844,356,79514,986,0001,998,0002,293,760
6Jun 9, 2024 21:105,31134,330,35114,996,0001,999,0002,293,760
7Jun 9, 2024 21:105,33243,771,43416,059,0001,003,0002,293,760
8Jun 9, 2024 21:105,33443,863,56315,061,0002,008,0002,293,760
9Jun 9, 2024 21:105,33845,628,98016,077,0001,004,0002,293,760
10Jun 9, 2024 21:105,52075,918,68717,663,58102,248,704
11Jun 9, 2024 21:105,61884,052,95417,979,17102,248,704
12Jun 9, 2024 21:105,68662,500,86718,196,45402,252,800