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:15Yuriy LyfenkoYuriy LyfenkoScore: 5,165Success
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:155,10632,023,94714,296,0002,042,0002,387,968
2Jul 6, 2021 00:155,10737,201,80216,342,00002,265,088
3Jul 6, 2021 00:155,11342,798,19515,340,0001,022,0002,265,088
4Jul 6, 2021 00:155,12833,946,87716,409,00002,265,088
5Jul 6, 2021 00:155,13238,570,87015,395,0001,026,0002,265,088
6Jul 6, 2021 00:155,14237,503,19416,455,00002,506,752
7Jul 6, 2021 00:155,16536,859,74415,496,0001,033,0002,396,160
8Jul 6, 2021 00:155,16730,053,56115,500,0001,033,0002,379,776
9Jul 6, 2021 00:155,17138,626,81916,548,00002,396,160
10Jul 6, 2021 00:155,30990,385,24516,990,07902,273,280
11Jul 6, 2021 00:155,31463,458,13117,004,83402,281,472
12Jul 6, 2021 00:155,34081,258,65717,087,90002,269,184