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:36Joad NacerJoad NacerScore: 4,969Success
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:364,91836,004,33814,690,0001,049,0002,285,568
2Apr 17, 2024 18:364,95546,003,99313,874,0001,982,0002,289,664
3Apr 17, 2024 18:364,95832,256,03513,882,0001,983,0002,289,664
4Apr 17, 2024 18:364,95944,030,96114,878,000991,0002,289,664
5Apr 17, 2024 18:364,96039,812,71314,880,000992,0002,289,664
6Apr 17, 2024 18:364,96534,532,19115,889,00002,289,664
7Apr 17, 2024 18:364,96931,392,54714,907,000993,0002,289,664
8Apr 17, 2024 18:364,97639,738,97713,933,0001,990,0002,289,664
9Apr 17, 2024 18:364,98834,246,62713,966,0001,995,0002,273,280
10Apr 17, 2024 18:365,14088,984,57116,448,85202,301,952
11Apr 17, 2024 18:365,15969,146,22916,509,32502,179,072
12Apr 17, 2024 18:365,20471,347,90416,651,59902,301,952