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 listJun 5, 2021 05:08evgenikwtevgenikwtScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 05:035,26044,120,08014,853,0001,980,0002,265,088
2Jun 5, 2021 05:085,26033,145,51314,853,0001,980,0002,265,088
3Jun 5, 2021 05:035,26134,908,90315,846,000990,0002,396,160
4Jun 5, 2021 05:035,26933,796,77114,877,0001,983,0002,265,088
5Jun 5, 2021 05:085,26946,414,84914,878,0001,983,0002,387,968
6Jun 5, 2021 05:035,27038,047,67515,873,000992,0002,383,872
7Jun 5, 2021 05:085,27143,723,92415,875,000992,0002,265,088
8Jun 5, 2021 05:035,27137,668,63814,884,0001,984,0002,387,968
9Jun 5, 2021 05:085,27550,703,46415,888,000993,0002,265,088
10Jun 5, 2021 05:085,27637,485,98014,896,0001,986,0002,265,088
11Jun 5, 2021 05:085,27645,103,34215,891,000993,0002,265,088
12Jun 5, 2021 05:035,27641,502,79414,897,0001,986,0002,527,232
13Jun 5, 2021 05:035,27738,568,35514,901,0001,986,0002,269,184
14Jun 5, 2021 05:085,27936,967,22515,899,000993,0002,396,160
15Jun 5, 2021 05:085,28341,149,74615,911,000994,0002,265,088
16Jun 5, 2021 05:035,28343,903,82015,912,000994,0002,265,088
17Jun 5, 2021 05:035,28534,165,04715,917,000994,0002,392,064
18Jun 5, 2021 05:085,28840,109,52714,932,0001,991,0002,265,088
19Jun 5, 2021 05:085,47563,298,34017,520,58202,277,376
20Jun 5, 2021 05:085,48363,522,44617,545,35602,289,664
21Jun 5, 2021 05:035,48571,038,14317,550,59902,281,472
22Jun 5, 2021 05:035,48786,095,68617,558,88602,269,184
23Jun 5, 2021 05:035,50655,926,03317,620,65502,244,608
24Jun 5, 2021 05:085,52072,975,04817,662,44102,281,472