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 listFeb 21, 2023 13:38DarkclainerDarkclainerScore: 5,749Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 13:385,73044,968,07516,299,0002,037,0002,375,680
2Feb 21, 2023 13:385,73545,158,25217,334,0001,019,0002,269,184
3Feb 21, 2023 13:385,74140,467,69118,371,00002,379,776
4Feb 21, 2023 13:385,74251,814,96417,354,0001,020,0002,269,184
5Feb 21, 2023 13:385,74439,839,76517,361,0001,021,0002,531,328
6Feb 21, 2023 13:385,74833,250,32516,351,0002,043,0002,371,584
7Feb 21, 2023 13:385,74940,772,95618,397,00002,379,776
8Feb 21, 2023 13:385,75836,164,03617,401,0001,023,0002,269,184
9Feb 21, 2023 13:385,76541,000,25216,398,0002,049,0002,531,328
10Feb 21, 2023 13:385,93092,168,45718,976,86102,260,992
11Feb 21, 2023 13:385,94865,367,07919,032,01602,252,800
12Feb 21, 2023 13:385,98381,676,80019,144,80702,252,800