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:11джулисджулисScore: 5,595Success
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:115,53748,946,23016,676,0001,042,0002,375,680
2Jun 8, 2024 19:115,58149,004,98515,876,0001,984,0002,371,584
3Jun 8, 2024 19:115,58145,616,95615,876,0001,984,0002,367,488
4Jun 8, 2024 19:115,58247,094,92015,878,0001,984,0002,367,488
5Jun 8, 2024 19:115,58346,188,22016,874,000992,0002,371,584
6Jun 8, 2024 19:115,58331,602,99916,875,000992,0002,293,760
7Jun 8, 2024 19:115,58344,336,40416,875,000992,0002,293,760
8Jun 8, 2024 19:115,58534,112,01316,880,000992,0002,371,584
9Jun 8, 2024 19:115,58834,689,21717,880,00002,293,760
10Jun 8, 2024 19:115,58837,989,62315,896,0001,987,0002,375,680
11Jun 8, 2024 19:115,58846,011,28716,889,000993,0002,293,760
12Jun 8, 2024 19:115,58935,234,76617,886,00002,375,680
13Jun 8, 2024 19:115,59542,159,48315,914,0001,989,0002,293,760
14Jun 8, 2024 19:115,60642,904,80316,943,000996,0002,478,080
15Jun 8, 2024 19:115,60745,970,26015,948,0001,993,0002,375,680
16Jun 8, 2024 19:115,60751,560,56415,950,0001,993,0002,453,504
17Jun 8, 2024 19:115,61045,816,89715,958,0001,994,0002,293,760
18Jun 8, 2024 19:115,61248,014,07415,964,0001,995,0002,293,760
19Jun 8, 2024 19:115,75598,132,22418,415,85102,236,416
20Jun 8, 2024 19:115,77995,049,30618,493,29702,240,512
21Jun 8, 2024 19:115,81090,850,67318,592,62402,375,680
22Jun 8, 2024 19:115,81995,615,98918,620,55202,240,512
23Jun 8, 2024 19:115,859104,354,10618,749,04102,367,488
24Jun 8, 2024 19:115,86374,775,39918,761,65502,248,704