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 19:50Yuriy LyfenkoYuriy LyfenkoScore: 5,443Success
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 19:505,385942,651,30616,220,0001,013,0002,260,992
2May 17, 2021 19:505,393691,248,77816,241,0001,015,0002,269,184
3May 17, 2021 19:505,395918,312,64215,232,0002,031,0002,269,184
4May 17, 2021 19:505,4182,150,101,72915,298,0002,039,0002,527,232
5May 17, 2021 19:505,4181,802,764,73316,319,0001,019,0002,523,136
6May 17, 2021 19:505,4372,447,089,97916,376,0001,023,0002,383,872
7May 17, 2021 19:505,4431,161,774,87915,483,0001,935,0002,265,088
8May 17, 2021 19:505,4441,341,496,94613,551,0003,871,0002,523,136
9May 17, 2021 19:505,488668,350,05715,609,0001,951,0002,387,968
10May 17, 2021 19:505,5843,033,435,68717,870,18002,281,472
11May 17, 2021 19:505,5981,735,859,58917,912,43102,277,376
12May 17, 2021 19:505,607839,545,07917,942,20002,273,280