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 listAug 7, 2024 01:58zielajzielajScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:584,59744,297,88613,660,0001,050,0002,289,664
2Aug 7, 2024 01:584,59932,338,99714,717,00002,269,184
3Aug 7, 2024 01:584,60431,727,38513,680,0001,052,0002,277,376
4Aug 7, 2024 01:584,64539,527,97712,882,0001,981,0002,273,280
5Aug 7, 2024 01:584,64741,397,21812,888,0001,982,0002,289,664
6Aug 7, 2024 01:584,64731,096,41113,880,000991,0002,289,664
7Aug 7, 2024 01:584,64941,767,99112,893,0001,983,0002,289,664
8Aug 7, 2024 01:584,64944,288,52213,887,000991,0002,273,280
9Aug 7, 2024 01:584,65330,545,33712,906,0001,985,0002,289,664
10Aug 7, 2024 01:584,86289,321,65815,559,20702,301,952
11Aug 7, 2024 01:584,87573,994,84215,599,22702,179,072
12Aug 7, 2024 01:584,901108,258,31915,683,36002,179,072