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 listJan 2, 2023 14:45Jack FrigaardJack FrigaardScore: 5,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:455,44633,314,37515,377,0002,050,0002,285,568
2Jan 2, 2023 14:455,45241,339,56016,419,0001,026,0002,269,184
3Jan 2, 2023 14:455,46247,334,20816,450,0001,028,0002,285,568
4Jan 2, 2023 14:455,46443,253,62915,429,0002,057,0002,269,184
5Jan 2, 2023 14:455,47840,699,45316,498,0001,031,0002,269,184
6Jan 2, 2023 14:455,48042,903,77616,505,0001,031,0002,281,472
7Jan 2, 2023 14:455,49239,749,33216,540,0001,033,0002,514,944
8Jan 2, 2023 14:455,49538,824,60616,549,0001,034,0002,527,232
9Jan 2, 2023 14:455,49839,566,80016,559,0001,034,0002,527,232
10Jan 2, 2023 14:455,68591,173,04918,190,95502,297,856
11Jan 2, 2023 14:455,71090,229,27818,272,96702,293,760
12Jan 2, 2023 14:455,72387,000,64718,312,73302,293,760