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 8, 2021 14:02Yuriy LyfenkoYuriy LyfenkoScore: 5,330Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 14:025,30345,289,21515,970,000998,0002,392,064
2Jul 8, 2021 14:025,30537,183,85814,979,0001,997,0002,527,232
3Jul 8, 2021 14:025,30943,012,63915,990,000999,0002,265,088
4Jul 8, 2021 14:025,31845,498,89516,017,0001,001,0002,392,064
5Jul 8, 2021 14:025,32341,002,63015,031,0002,004,0002,387,968
6Jul 8, 2021 14:025,32844,280,72717,050,00002,265,088
7Jul 8, 2021 14:025,33048,234,84416,053,0001,003,0002,387,968
8Jul 8, 2021 14:025,33936,791,64815,075,0002,010,0002,265,088
9Jul 8, 2021 14:025,35439,748,32315,117,0002,015,0002,506,752
10Jul 8, 2021 14:025,47576,499,19817,519,78702,281,472
11Jul 8, 2021 14:025,49290,414,75217,574,81102,269,184
12Jul 8, 2021 14:025,52567,544,65317,678,86702,281,472