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 listApr 17, 2024 18:00Joad NacerJoad NacerScore: 4,882Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 18:004,83742,054,15814,447,0001,031,0002,273,280
2Apr 17, 2024 18:004,84534,608,29014,470,0001,033,0002,527,232
3Apr 17, 2024 18:004,84532,941,22415,505,00002,285,568
4Apr 17, 2024 18:004,86837,259,89914,539,0001,038,0002,273,280
5Apr 17, 2024 18:004,87233,440,00715,591,00002,273,280
6Apr 17, 2024 18:004,87437,087,55915,596,00002,273,280
7Apr 17, 2024 18:004,88244,201,35214,582,0001,041,0002,265,088
8Apr 17, 2024 18:004,88434,709,31414,588,0001,042,0002,277,376
9Apr 17, 2024 18:004,88645,672,79214,593,0001,042,0002,289,664
10Apr 17, 2024 18:005,06757,336,36716,214,63202,179,072
11Apr 17, 2024 18:005,07983,166,43416,253,71702,183,168
12Apr 17, 2024 18:005,09484,325,02116,300,98002,301,952