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 listApr 17, 2024 15:21Joad NacerJoad NacerScore: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:415,25846,933,86214,848,0001,979,0002,265,088
2Apr 17, 2024 03:415,26634,925,31015,859,000991,0002,289,664
3Apr 17, 2024 03:415,27343,005,00714,889,0001,985,0002,289,664
4Apr 17, 2024 15:215,27444,100,15414,893,0001,985,0002,289,664
5Apr 17, 2024 03:415,27646,789,38314,898,0001,986,0002,289,664
6Apr 17, 2024 03:415,27835,436,36914,903,0001,987,0002,289,664
7Apr 17, 2024 15:215,28146,419,67314,910,0001,988,0002,269,184
8Apr 17, 2024 15:215,28139,561,86014,911,0001,988,0002,269,184
9Apr 17, 2024 03:415,28533,878,50614,922,0001,989,0002,289,664
10Apr 17, 2024 03:415,28741,054,28915,922,000995,0002,277,376
11Apr 17, 2024 15:215,28939,910,18914,934,0001,991,0002,289,664
12Apr 17, 2024 15:215,29442,639,17215,946,000996,0002,289,664
13Apr 17, 2024 03:415,29544,047,09514,950,0001,993,0002,371,584
14Apr 17, 2024 15:215,30444,920,57414,976,0001,996,0002,273,280
15Apr 17, 2024 15:215,30445,911,01415,975,000998,0002,289,664
16Apr 17, 2024 03:415,30642,233,21814,982,0001,997,0002,289,664
17Apr 17, 2024 15:215,30644,522,21414,983,0001,997,0002,527,232
18Apr 17, 2024 15:215,32343,961,35815,030,0002,004,0002,289,664
19Apr 17, 2024 03:415,48672,948,74817,555,01502,179,072
20Apr 17, 2024 03:415,49094,938,19517,568,80502,293,760
21Apr 17, 2024 15:215,51374,747,41917,641,86902,301,952
22Apr 17, 2024 15:215,51482,875,71917,643,27802,183,168
23Apr 17, 2024 03:415,52078,457,78217,663,73602,179,072
24Apr 17, 2024 15:215,52494,213,26017,675,84602,297,856