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 26, 2022 12:25Keichi TakahashiKeichi TakahashiScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 12:255,30043,100,31815,964,000997,0002,387,968
2May 26, 2022 12:255,30143,531,75814,967,0001,995,0002,265,088
3May 26, 2022 12:255,30947,601,04815,989,000999,0002,396,160
4May 26, 2022 12:255,31035,849,44115,994,000999,0002,265,088
5May 26, 2022 12:255,31453,959,51616,004,0001,000,0002,265,088
6May 26, 2022 12:255,32649,924,51116,041,0001,002,0002,527,232
7May 26, 2022 12:255,33535,635,07216,069,0001,004,0002,265,088
8May 26, 2022 12:255,33733,109,44415,070,0002,009,0002,387,968
9May 26, 2022 12:255,33846,447,65815,071,0002,009,0002,265,088
10May 26, 2022 12:255,49492,414,36417,581,34802,273,280
11May 26, 2022 12:255,51389,150,41417,642,69302,281,472
12May 26, 2022 12:255,53370,406,46317,706,71002,281,472