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 6, 2021 00:23Yuriy LyfenkoYuriy LyfenkoScore: 5,049Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:234,9941,042,194,47613,985,0001,997,0002,260,992
2Jul 6, 2021 00:235,0201,040,418,30515,061,0001,004,0002,527,232
3Jul 6, 2021 00:235,0401,046,624,14014,112,0002,016,0002,523,136
4Jul 6, 2021 00:235,0441,042,143,22015,132,0001,008,0002,523,136
5Jul 6, 2021 00:235,0461,046,416,40115,139,0001,009,0002,392,064
6Jul 6, 2021 00:235,0491,042,047,87215,147,0001,009,0002,523,136
7Jul 6, 2021 00:235,0491,047,722,94714,138,0002,019,0002,392,064
8Jul 6, 2021 00:235,0641,041,005,17615,194,0001,012,0002,265,088
9Jul 6, 2021 00:235,0671,043,359,89215,200,0001,013,0002,260,992
10Jul 6, 2021 00:235,1811,081,795,18316,578,47302,244,608
11Jul 6, 2021 00:235,1891,076,811,77816,603,27602,277,376
12Jul 6, 2021 00:235,2211,085,315,13616,705,97902,277,376