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 13, 2024 13:47джулисджулисScore: 5,294Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 13:475,26648,862,85215,859,000991,0002,371,584
2Jun 13, 2024 13:465,26930,470,54716,862,00002,293,760
3Jun 13, 2024 13:465,27342,618,85115,881,000992,0002,375,680
4Jun 13, 2024 13:475,27345,923,14014,890,0001,985,0002,371,584
5Jun 13, 2024 13:475,27335,055,71214,887,0001,985,0002,379,776
6Jun 13, 2024 13:475,27340,128,94915,880,000992,0002,293,760
7Jun 13, 2024 13:465,27447,141,94814,893,0001,985,0002,293,760
8Jun 13, 2024 13:465,27646,753,32714,896,0001,986,0002,375,680
9Jun 13, 2024 13:465,27746,953,02516,887,00002,293,760
10Jun 13, 2024 13:465,27844,962,29514,904,0001,987,0002,371,584
11Jun 13, 2024 13:475,27939,220,98316,894,00002,363,392
12Jun 13, 2024 13:475,28044,567,65615,903,000993,0002,379,776
13Jun 13, 2024 13:475,29446,717,35014,948,0001,993,0002,293,760
14Jun 13, 2024 13:475,29543,723,55014,950,0001,993,0002,293,760
15Jun 13, 2024 13:475,29546,978,95615,948,000996,0002,375,680
16Jun 13, 2024 13:465,30044,586,86615,962,000997,0002,482,176
17Jun 13, 2024 13:465,30842,593,55714,988,0001,998,0002,449,408
18Jun 13, 2024 13:465,31640,373,77315,011,0002,001,0002,293,760
19Jun 13, 2024 13:475,48389,288,14417,546,74502,248,704
20Jun 13, 2024 13:475,49276,025,92517,574,51502,248,704
21Jun 13, 2024 13:465,49373,703,38117,576,49702,256,896
22Jun 13, 2024 13:465,49882,689,12517,592,51902,265,088
23Jun 13, 2024 13:465,54285,682,18517,734,20502,248,704
24Jun 13, 2024 13:475,54798,263,03017,749,06802,252,800