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:37джулисджулисScore: 5,282Success
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:385,22845,583,98616,729,00002,371,584
2Jun 9, 2024 21:375,22942,432,58015,689,0001,045,0002,293,760
3Jun 9, 2024 21:375,26846,248,47216,859,00002,293,760
4Jun 9, 2024 21:385,26945,924,23915,871,000991,0002,293,760
5Jun 9, 2024 21:375,27035,294,00515,872,000992,0002,293,760
6Jun 9, 2024 21:385,27137,585,90614,884,0001,984,0002,293,760
7Jun 9, 2024 21:385,27248,545,24514,886,0001,984,0002,293,760
8Jun 9, 2024 21:385,27243,946,23815,878,000992,0002,379,776
9Jun 9, 2024 21:375,27337,234,49915,882,000992,0002,367,488
10Jun 9, 2024 21:385,27637,176,58315,891,000993,0002,293,760
11Jun 9, 2024 21:375,27846,667,79414,902,0001,986,0002,379,776
12Jun 9, 2024 21:375,27933,288,65216,892,00002,293,760
13Jun 9, 2024 21:375,28246,207,16215,909,000994,0002,293,760
14Jun 9, 2024 21:375,28640,404,31214,925,0001,990,0002,293,760
15Jun 9, 2024 21:375,28743,866,88214,929,0001,990,0002,375,680
16Jun 9, 2024 21:385,29345,278,58815,941,000996,0002,371,584
17Jun 9, 2024 21:385,30644,969,97214,982,0001,997,0002,293,760
18Jun 9, 2024 21:385,30943,012,20314,992,0001,998,0002,371,584
19Jun 9, 2024 21:375,47977,700,74717,533,21202,260,992
20Jun 9, 2024 21:385,48392,699,45917,544,58902,252,800
21Jun 9, 2024 21:375,49571,672,94617,585,02202,256,896
22Jun 9, 2024 21:385,50892,306,30617,624,16102,248,704
23Jun 9, 2024 21:375,53076,485,25117,696,44502,252,800
24Jun 9, 2024 21:385,53178,256,38217,700,32402,252,800