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 1, 2023 21:29Jack FrigaardJack FrigaardScore: 5,618Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:295,58236,657,21615,878,0001,984,0002,289,664
2Jan 1, 2023 21:295,58342,654,30315,882,0001,985,0002,273,280
3Jan 1, 2023 21:295,58636,578,32315,889,0001,986,0002,523,136
4Jan 1, 2023 21:295,59249,054,99616,842,0001,052,0002,289,664
5Jan 1, 2023 21:295,60245,858,15515,935,0001,991,0002,289,664
6Jan 1, 2023 21:295,60341,676,26915,936,0001,992,0002,265,088
7Jan 1, 2023 21:295,61845,894,20915,980,0001,997,0002,289,664
8Jan 1, 2023 21:295,65042,512,39616,071,0002,008,0002,265,088
9Jan 1, 2023 21:295,66833,678,79217,132,0001,007,0002,269,184
10Jan 1, 2023 21:295,85975,793,46218,749,05702,306,048
11Jan 1, 2023 21:295,90978,131,65718,909,96202,301,952
12Jan 1, 2023 21:296,05286,996,33119,365,29802,252,800