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 listJul 26, 2026 10:17Kevin HeaveyKevin HeaveyScore: 4,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2026 10:214,1073,024,906,29512,122,0001,023,0002,113,536
2Jul 26, 2026 10:214,1193,024,880,69712,112,0001,071,0002,113,536
3Jul 26, 2026 10:214,1263,025,006,73912,134,0001,070,0002,113,536
4Jul 26, 2026 10:214,1293,024,975,10012,143,0001,070,0002,113,536
5Jul 26, 2026 10:214,1363,024,970,84212,145,0001,093,0002,113,536
6Jul 26, 2026 10:214,1373,025,015,77812,150,0001,091,0002,113,536
7Jul 26, 2026 10:214,1623,024,953,66212,115,0001,204,0002,113,536
8Jul 26, 2026 10:214,1683,025,134,82612,148,0001,191,0002,113,536
9Jul 26, 2026 10:214,1723,032,767,88512,131,0001,220,0002,113,536