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 20, 2023 22:23gchebanovgchebanovScore: 5,409Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2023 22:235,34835,372,97515,101,0002,013,0002,265,088
2Jul 20, 2023 22:235,37042,988,85716,173,0001,010,0002,506,752
3Jul 20, 2023 22:235,38339,823,11315,199,0002,026,0002,265,088
4Jul 20, 2023 22:235,39244,574,73417,255,00002,265,088
5Jul 20, 2023 22:235,39339,918,73715,226,0002,030,0002,265,088
6Jul 20, 2023 22:235,39349,002,04016,244,0001,015,0002,527,232
7Jul 20, 2023 22:235,40933,417,22415,274,0002,036,0002,265,088
8Jul 20, 2023 22:235,41048,635,90215,275,0002,036,0002,265,088
9Jul 20, 2023 22:235,43734,913,88216,431,000966,0002,387,968
10Jul 20, 2023 22:235,59583,563,35717,905,17902,277,376
11Jul 20, 2023 22:235,60788,872,60117,943,08102,289,664
12Jul 20, 2023 22:235,62795,986,58418,006,82002,289,664