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 listJan 19, 2024 09:35AnSaAnSaScore: 5,506Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:355,45437,629,37416,426,0001,026,0002,387,968
2Jan 19, 2024 09:355,46937,227,80016,472,0001,029,0002,269,184
3Jan 19, 2024 09:355,47534,506,22817,521,00002,293,760
4Jan 19, 2024 09:355,48534,805,47116,521,0001,032,0002,293,760
5Jan 19, 2024 09:355,50047,531,41416,564,0001,035,0002,293,760
6Jan 19, 2024 09:355,50146,611,85916,567,0001,035,0002,269,184
7Jan 19, 2024 09:355,50643,589,57016,582,0001,036,0002,293,760
8Jan 19, 2024 09:355,50647,944,30316,583,0001,036,0002,293,760
9Jan 19, 2024 09:355,53945,504,04616,683,0001,042,0002,269,184
10Jan 19, 2024 09:355,69371,594,76118,217,46802,289,664
11Jan 19, 2024 09:355,69586,706,41718,222,40502,170,880
12Jan 19, 2024 09:355,72794,483,41718,327,93902,293,760