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 listMay 17, 2021 22:50Yuriy LyfenkoYuriy LyfenkoScore: 5,267Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 22:505,2402,727,256,61814,795,0001,972,0002,260,992
2May 17, 2021 22:505,243520,057,63015,790,000986,0002,260,992
3May 17, 2021 22:505,2481,515,136,42214,819,0001,975,0002,260,992
4May 17, 2021 22:505,2532,286,248,89414,831,0001,977,0002,523,136
5May 17, 2021 22:505,2571,521,147,40016,823,00002,265,088
6May 17, 2021 22:505,2602,529,754,92514,851,0001,980,0002,260,992
7May 17, 2021 22:505,2672,261,759,50115,863,000991,0002,519,040
8May 17, 2021 22:505,2731,717,246,59715,882,000992,0002,519,040
9May 17, 2021 22:505,306255,113,69815,093,0001,886,0002,260,992
10May 17, 2021 22:505,4341,796,484,21217,388,60202,281,472
11May 17, 2021 22:505,4351,055,764,18017,393,38102,277,376
12May 17, 2021 22:505,4691,373,818,23517,501,66502,285,568