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 22, 2024 13:32Huy Duc LeHuy Duc LeScore: 4,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:324,64539,230,16514,865,00002,392,064
2Feb 22, 2024 13:324,64835,083,53512,891,0001,983,0002,510,848
3Feb 22, 2024 13:324,64935,654,92413,886,000991,0002,260,992
4Feb 22, 2024 13:324,65235,212,53012,902,0001,985,0002,527,232
5Feb 22, 2024 13:324,65332,389,87912,903,0001,985,0002,265,088
6Feb 22, 2024 13:324,65534,203,49412,911,0001,986,0002,265,088
7Feb 22, 2024 13:324,65631,033,19512,913,0001,986,0002,387,968
8Feb 22, 2024 13:324,65934,061,02412,921,0001,987,0002,265,088
9Feb 22, 2024 13:324,66031,594,90114,912,00002,265,088
10Feb 22, 2024 13:324,866104,935,09315,571,60002,240,512
11Feb 22, 2024 13:324,87389,814,01915,594,69902,277,376
12Feb 22, 2024 13:324,87879,441,20815,610,19802,285,568