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 11, 2021 17:16Yuriy LyfenkoYuriy LyfenkoScore: 5,626Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:165,58637,693,45715,890,0001,986,0002,383,872
2May 11, 2021 17:165,58943,611,42416,892,000993,0002,519,040
3May 11, 2021 17:165,59645,245,95917,907,00002,392,064
4May 11, 2021 17:165,61035,441,17315,957,0001,994,0002,396,160
5May 11, 2021 17:165,61746,923,17615,977,0001,997,0002,523,136
6May 11, 2021 17:165,62035,340,53014,987,0002,997,0002,519,040
7May 11, 2021 17:165,62652,897,79016,003,0002,000,0002,519,040
8May 11, 2021 17:165,62948,216,94216,011,0002,001,0002,392,064
9May 11, 2021 17:165,63444,732,47316,026,0002,003,0002,387,968
10May 11, 2021 17:165,79260,504,10718,535,88902,277,376
11May 11, 2021 17:165,82970,685,18018,653,89102,277,376
12May 11, 2021 17:165,87272,721,98318,790,28902,281,472