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 listMar 16, 2023 01:01Alexander MonakovAlexander MonakovScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:015,21438,958,45815,644,0001,042,0002,281,472
2Mar 16, 2023 01:015,21747,982,55215,652,0001,043,0002,445,312
3Mar 16, 2023 01:015,22145,715,89815,662,0001,044,0002,453,504
4Mar 16, 2023 01:015,22134,209,03315,664,0001,044,0002,281,472
5Mar 16, 2023 01:015,26835,795,82015,866,000991,0002,277,376
6Mar 16, 2023 01:015,27132,415,01014,883,0001,984,0002,281,472
7Mar 16, 2023 01:015,27130,391,35715,875,000992,0002,457,600
8Mar 16, 2023 01:015,27348,714,68414,890,0001,985,0002,453,504
9Mar 16, 2023 01:015,27632,925,20314,897,0001,986,0002,453,504
10Mar 16, 2023 01:015,42387,504,27317,354,28102,260,992
11Mar 16, 2023 01:015,44354,548,60217,416,62302,215,936
12Mar 16, 2023 01:015,46198,955,65717,476,14502,215,936