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 8, 2021 18:47evgenikwtevgenikwtScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 18:475,27334,395,86614,888,0001,985,0002,527,232
2Jun 8, 2021 18:475,27343,569,06816,875,00002,392,064
3Jun 8, 2021 18:475,27434,762,12016,878,00002,265,088
4Jun 8, 2021 18:475,27446,938,37415,886,000992,0002,392,064
5Jun 8, 2021 18:475,27845,741,87015,897,000993,0002,265,088
6Jun 8, 2021 18:475,28142,882,17915,906,000994,0002,265,088
7Jun 8, 2021 18:475,30034,690,41814,965,0001,995,0002,265,088
8Jun 8, 2021 18:475,30142,661,51314,968,0001,995,0002,383,872
9Jun 8, 2021 18:475,32343,838,27115,030,0002,004,0002,465,792
10Jun 8, 2021 18:475,47482,343,36817,515,37002,277,376
11Jun 8, 2021 18:475,48663,050,78917,554,18202,244,608
12Jun 8, 2021 18:475,50556,833,78717,617,04302,244,608