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 5, 2021 23:57Yuriy LyfenkoYuriy LyfenkoScore: 5,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2021 23:575,27333,978,61714,889,0001,985,0002,265,088
2Jul 5, 2021 23:575,27639,595,24815,890,000993,0002,265,088
3Jul 5, 2021 23:575,27633,889,98214,898,0001,986,0002,527,232
4Jul 5, 2021 23:575,27745,119,71314,901,0001,986,0002,387,968
5Jul 5, 2021 23:575,30733,291,88115,984,000999,0002,265,088
6Jul 5, 2021 23:575,31436,271,70516,005,0001,000,0002,392,064
7Jul 5, 2021 23:575,32049,552,72916,022,0001,001,0002,265,088
8Jul 5, 2021 23:575,33731,014,45116,073,0001,004,0002,265,088
9Jul 5, 2021 23:575,34138,562,85615,081,0002,010,0002,265,088
10Jul 5, 2021 23:575,38771,090,10317,237,98202,269,184
11Jul 5, 2021 23:575,41189,712,41917,316,30502,281,472
12Jul 5, 2021 23:575,43567,384,42917,391,88302,277,376