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 listFeb 24, 2023 19:01Andranik ChakiryanAndranik ChakiryanScore: 5,792Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 19:015,74949,116,01018,396,00002,351,104
2Feb 24, 2023 19:015,75747,609,03818,422,00002,342,912
3Feb 24, 2023 19:015,76643,702,74718,452,00002,351,104
4Feb 24, 2023 19:015,76959,709,87518,462,15602,191,360
5Feb 24, 2023 19:015,77139,539,10516,415,0002,051,0002,342,912
6Feb 24, 2023 19:015,77739,924,93318,485,00002,473,984
7Feb 24, 2023 19:015,79243,299,99717,505,0001,029,0002,363,392
8Feb 24, 2023 19:015,79841,854,73117,522,0001,030,0002,334,720
9Feb 24, 2023 19:015,80360,891,18418,568,19502,179,072
10Feb 24, 2023 19:015,80839,478,26918,586,00002,342,912
11Feb 24, 2023 19:015,81744,551,98417,581,0001,034,0002,338,816
12Feb 24, 2023 19:015,93897,397,16919,000,24002,183,168