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 6, 2021 01:25evgenikwtevgenikwtScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 01:255,25836,521,52514,848,0001,979,0002,265,088
2Jun 6, 2021 01:355,26844,898,45514,873,0001,983,0002,265,088
3Jun 6, 2021 01:355,26938,974,38014,877,0001,983,0002,265,088
4Jun 6, 2021 01:255,27043,123,84915,872,000992,0002,265,088
5Jun 6, 2021 01:255,27142,244,40415,874,000992,0002,502,656
6Jun 6, 2021 01:355,27232,772,89015,877,000992,0002,265,088
7Jun 6, 2021 01:355,27342,018,57715,882,000992,0002,265,088
8Jun 6, 2021 01:255,27435,820,08715,884,000992,0002,527,232
9Jun 6, 2021 01:355,27445,461,93715,886,000992,0002,383,872
10Jun 6, 2021 01:355,27543,671,21715,888,000993,0002,265,088
11Jun 6, 2021 01:255,27648,006,66114,897,0001,986,0002,269,184
12Jun 6, 2021 01:355,27733,086,36715,892,000993,0002,265,088
13Jun 6, 2021 01:255,27944,771,58815,901,000993,0002,265,088
14Jun 6, 2021 01:355,28345,370,03815,913,000994,0002,392,064
15Jun 6, 2021 01:255,28532,870,93314,922,0001,989,0002,265,088
16Jun 6, 2021 01:255,28542,831,23814,922,0001,989,0002,387,968
17Jun 6, 2021 01:255,28934,756,87814,935,0001,991,0002,265,088
18Jun 6, 2021 01:355,29246,151,83714,941,0001,992,0002,519,040
19Jun 6, 2021 01:255,53581,040,86617,711,38902,281,472
20Jun 6, 2021 01:255,56664,284,11917,810,96102,285,568
21Jun 6, 2021 01:355,65265,696,40918,086,54102,285,568
22Jun 6, 2021 01:255,66060,012,39218,111,29702,285,568
23Jun 6, 2021 01:355,69079,659,52918,208,47402,293,760
24Jun 6, 2021 01:355,86473,626,57718,766,24302,240,512