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 15:12Yuriy LyfenkoYuriy LyfenkoScore: 5,361Success
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 15:125,3241,251,734,37916,036,0001,002,0002,527,232
2May 17, 2021 15:125,3254,425,913,29215,036,0002,004,0002,265,088
3May 17, 2021 15:125,3304,357,692,95115,990,0001,066,0002,527,232
4May 17, 2021 15:125,337672,423,03714,064,0003,013,0002,265,088
5May 17, 2021 15:125,3382,514,273,00417,082,00002,265,088
6May 17, 2021 15:125,3421,953,977,89717,094,00002,265,088
7May 17, 2021 15:125,3472,307,864,01716,103,0001,006,0002,265,088
8May 17, 2021 15:125,3483,119,967,42317,115,00002,527,232
9May 17, 2021 15:125,348466,783,66817,114,00002,265,088
10May 17, 2021 15:125,3574,590,148,34716,133,0001,008,0002,265,088
11May 17, 2021 15:125,3574,765,527,85215,237,0001,904,0002,527,232
12May 17, 2021 15:125,361709,900,96717,155,00002,260,992
13May 17, 2021 15:125,3614,992,858,20417,156,00002,265,088
14May 17, 2021 15:125,3673,997,409,80114,144,0003,031,0002,265,088
15May 17, 2021 15:125,372864,311,14917,189,00002,256,896
16May 17, 2021 15:125,3733,524,871,53216,181,0001,011,0002,527,232
17May 17, 2021 15:125,3923,589,809,31115,338,0001,917,0002,269,184
18May 17, 2021 15:125,3944,129,094,94715,343,0001,917,0002,527,232
19May 17, 2021 15:125,5431,611,453,00717,736,63602,281,472
20May 17, 2021 15:125,5522,926,410,11717,765,23802,281,472
21May 17, 2021 15:125,5531,711,357,85417,769,30102,277,376
22May 17, 2021 15:125,554358,411,32617,771,89402,273,280
23May 17, 2021 15:125,564109,483,98917,804,35102,281,472
24May 17, 2021 15:125,5704,033,126,38317,822,54402,277,376