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 listJul 8, 2021 16:49Yuriy LyfenkoYuriy LyfenkoScore: 4,521Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:494,499542,379,97013,369,0001,028,0002,523,136
2Jul 8, 2021 16:494,504536,269,68213,383,0001,029,0002,260,992
3Jul 8, 2021 16:494,508535,756,41314,425,00002,523,136
4Jul 8, 2021 16:494,516534,485,12314,452,00002,523,136
5Jul 8, 2021 16:494,517536,359,53414,453,00002,260,992
6Jul 8, 2021 16:494,519541,845,94714,461,00002,523,136
7Jul 8, 2021 16:494,521539,381,57414,468,00002,265,088
8Jul 8, 2021 16:494,530541,784,28114,497,00002,265,088
9Jul 8, 2021 16:494,534537,549,18513,472,0001,036,0002,383,872
10Jul 8, 2021 16:494,652571,387,27214,885,35302,281,472
11Jul 8, 2021 16:494,671577,247,30814,946,68002,277,376
12Jul 8, 2021 16:494,690578,353,24715,008,08502,244,608